| 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 08f571789e7ffe73777139816345e1be8a2e1ea5..b9a8f348559e2cca825ed1aadd1135742af45bdb 100644
|
| --- a/content/test/webrtc_audio_device_test.cc
|
| +++ b/content/test/webrtc_audio_device_test.cc
|
| @@ -223,11 +223,12 @@ void WebRTCAudioDeviceTest::OnGetHardwareInputSampleRate(double* sample_rate) {
|
| AudioManagerBase::kDefaultDeviceId) : 0.0;
|
| }
|
|
|
| -void WebRTCAudioDeviceTest::OnGetHardwareInputChannelCount(uint32* channels) {
|
| +void WebRTCAudioDeviceTest::OnGetHardwareInputChannelLayout(
|
| + ChannelLayout* layout) {
|
| EXPECT_TRUE(audio_util_callback_);
|
| - *channels = audio_util_callback_ ?
|
| - audio_util_callback_->GetAudioInputHardwareChannelCount(
|
| - AudioManagerBase::kDefaultDeviceId) : 0;
|
| + *layout = audio_util_callback_ ?
|
| + audio_util_callback_->GetAudioInputHardwareChannelLayout(
|
| + AudioManagerBase::kDefaultDeviceId) : CHANNEL_LAYOUT_NONE;
|
| }
|
|
|
| // IPC::Channel::Listener implementation.
|
| @@ -262,8 +263,8 @@ bool WebRTCAudioDeviceTest::OnMessageReceived(const IPC::Message& message) {
|
| OnGetHardwareSampleRate)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_GetHardwareInputSampleRate,
|
| OnGetHardwareInputSampleRate)
|
| - IPC_MESSAGE_HANDLER(ViewHostMsg_GetHardwareInputChannelCount,
|
| - OnGetHardwareInputChannelCount)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_GetHardwareInputChannelLayout,
|
| + OnGetHardwareInputChannelLayout)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP_EX()
|
|
|
|
|