Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2070)

Unified Diff: content/renderer/media/webrtc_audio_device_impl.cc

Issue 8341052: share all the needed linux code with OpenBSD in chrome and content (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/webrtc_audio_device_impl.cc
diff --git a/content/renderer/media/webrtc_audio_device_impl.cc b/content/renderer/media/webrtc_audio_device_impl.cc
index cb5728ece3f52a86123a582438349aef7ad6902e..240ea8974dc811378b494939b588ac78fb4823b8 100644
--- a/content/renderer/media/webrtc_audio_device_impl.cc
+++ b/content/renderer/media/webrtc_audio_device_impl.cc
@@ -366,7 +366,7 @@ int32_t WebRtcAudioDeviceImpl::Init() {
input_buffer_size = 440;
output_buffer_size = 440;
}
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
if (output_sample_rate != 48000) {
DLOG(ERROR) << "Only 48kHz sample rate is supported on Linux.";
return -1;

Powered by Google App Engine
This is Rietveld 408576698