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

Unified Diff: content/test/webrtc_audio_device_test.cc

Issue 11198018: Move ChannelLayout into media namespace. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixes. Created 8 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
« no previous file with comments | « content/test/webrtc_audio_device_test.h ('k') | media/audio/mac/audio_output_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/webrtc_audio_device_test.cc
diff --git a/content/test/webrtc_audio_device_test.cc b/content/test/webrtc_audio_device_test.cc
index 777f7d437a75f5d242be953f310fac9bb920cbe1..685f81d4d0d5148bd1a5d20e604bf1326cc0f68f 100644
--- a/content/test/webrtc_audio_device_test.cc
+++ b/content/test/webrtc_audio_device_test.cc
@@ -274,11 +274,11 @@ void WebRTCAudioDeviceTest::OnGetHardwareInputSampleRate(int* sample_rate) {
}
void WebRTCAudioDeviceTest::OnGetHardwareInputChannelLayout(
- ChannelLayout* layout) {
+ media::ChannelLayout* layout) {
EXPECT_TRUE(audio_util_callback_);
- *layout = audio_util_callback_ ?
+ *layout = !audio_util_callback_ ? media::CHANNEL_LAYOUT_NONE :
audio_util_callback_->GetAudioInputHardwareChannelLayout(
- media::AudioManagerBase::kDefaultDeviceId) : CHANNEL_LAYOUT_NONE;
+ media::AudioManagerBase::kDefaultDeviceId);
}
// IPC::Listener implementation.
« no previous file with comments | « content/test/webrtc_audio_device_test.h ('k') | media/audio/mac/audio_output_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698