diff options
author | henrika@webrtc.org <henrika@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-05-12 12:24:10 +0000 |
---|---|---|
committer | henrika@webrtc.org <henrika@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-05-12 12:24:10 +0000 |
commit | 7f5e2973967c6ef5859334eb4ccac2c7c0020565 (patch) | |
tree | 5068c2576f3e4b180cde9617e4c893497ca04b87 /voice_engine/transmit_mixer.cc | |
parent | d2632a025025efa1e5b56ff54941a217547dfde8 (diff) | |
download | webrtc-7f5e2973967c6ef5859334eb4ccac2c7c0020565.tar.gz |
Removes parts of the webrtc::VoEFile sub API as part of a clean-up operation where the goal is to remove unused APIs.
BUG=3206
R=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/14429004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6103 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/transmit_mixer.cc')
-rw-r--r-- | voice_engine/transmit_mixer.cc | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/voice_engine/transmit_mixer.cc b/voice_engine/transmit_mixer.cc index 54faec91..76b507f9 100644 --- a/voice_engine/transmit_mixer.cc +++ b/voice_engine/transmit_mixer.cc @@ -681,34 +681,6 @@ int TransmitMixer::IsPlayingFileAsMicrophone() const return _filePlaying; } -int TransmitMixer::ScaleFileAsMicrophonePlayout(float scale) -{ - WEBRTC_TRACE(kTraceInfo, kTraceVoice, VoEId(_instanceId, -1), - "TransmitMixer::ScaleFileAsMicrophonePlayout(scale=%5.3f)", - scale); - - CriticalSectionScoped cs(&_critSect); - - if (!_filePlaying) - { - _engineStatisticsPtr->SetLastError( - VE_INVALID_OPERATION, kTraceError, - "ScaleFileAsMicrophonePlayout() isnot playing file"); - return -1; - } - - if ((_filePlayerPtr == NULL) || - (_filePlayerPtr->SetAudioScaling(scale) != 0)) - { - _engineStatisticsPtr->SetLastError( - VE_BAD_ARGUMENT, kTraceError, - "SetAudioScaling() failed to scale playout"); - return -1; - } - - return 0; -} - int TransmitMixer::StartRecordingMicrophone(const char* fileName, const CodecInst* codecInst) { |