| Index: webrtc/modules/audio_device/audio_device_impl.cc
|
| diff --git a/webrtc/modules/audio_device/audio_device_impl.cc b/webrtc/modules/audio_device/audio_device_impl.cc
|
| index d7ab4092ee86c7f0221337495488496101540434..bae4f6a4ef17ee26d542f7b4be3ed646f0d19a57 100644
|
| --- a/webrtc/modules/audio_device/audio_device_impl.cc
|
| +++ b/webrtc/modules/audio_device/audio_device_impl.cc
|
| @@ -575,40 +575,6 @@ int32_t AudioDeviceModuleImpl::SpeakerVolume(uint32_t* volume) const {
|
| return (0);
|
| }
|
|
|
| -// ----------------------------------------------------------------------------
|
| -// SetWaveOutVolume
|
| -// ----------------------------------------------------------------------------
|
| -
|
| -int32_t AudioDeviceModuleImpl::SetWaveOutVolume(uint16_t volumeLeft,
|
| - uint16_t volumeRight) {
|
| - LOG(INFO) << __FUNCTION__ << "(" << volumeLeft << ", " << volumeRight << ")";
|
| - CHECK_INITIALIZED();
|
| - return (_ptrAudioDevice->SetWaveOutVolume(volumeLeft, volumeRight));
|
| -}
|
| -
|
| -// ----------------------------------------------------------------------------
|
| -// WaveOutVolume
|
| -// ----------------------------------------------------------------------------
|
| -
|
| -int32_t AudioDeviceModuleImpl::WaveOutVolume(uint16_t* volumeLeft,
|
| - uint16_t* volumeRight) const {
|
| - LOG(INFO) << __FUNCTION__;
|
| - CHECK_INITIALIZED();
|
| -
|
| - uint16_t volLeft(0);
|
| - uint16_t volRight(0);
|
| -
|
| - if (_ptrAudioDevice->WaveOutVolume(volLeft, volRight) == -1) {
|
| - return -1;
|
| - }
|
| -
|
| - *volumeLeft = volLeft;
|
| - *volumeRight = volRight;
|
| - LOG(INFO) << "output: " << *volumeLeft << ", " << *volumeRight;
|
| -
|
| - return (0);
|
| -}
|
| -
|
| // ----------------------------------------------------------------------------
|
| // SpeakerIsInitialized
|
| // ----------------------------------------------------------------------------
|
|
|