Revert 3543

> Changing non-const reference arguments to pointers, ACM
> 
> Part of refactoring of ACM, and recent lint-warnings.
> This CL changes non-const references in the ACM API to pointers.
> 
> BUG=issue1372
> 
> Review URL: https://webrtc-codereview.appspot.com/1103012

TBR=tina.legrand@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1116004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3544 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
tina.legrand@webrtc.org
2013-02-20 15:57:31 +00:00
parent 374aa49e1a
commit eb7ebf20ed
20 changed files with 207 additions and 214 deletions

View File

@ -76,13 +76,14 @@ WebRtc_Word32 AudioCoder::Decode(AudioFrame& decodedAudio,
return -1;
}
}
return _acm->PlayoutData10Ms((WebRtc_UWord16)sampFreqHz, &decodedAudio);
return _acm->PlayoutData10Ms((WebRtc_UWord16)sampFreqHz,
(AudioFrame&)decodedAudio);
}
WebRtc_Word32 AudioCoder::PlayoutData(AudioFrame& decodedAudio,
WebRtc_UWord16& sampFreqHz)
{
return _acm->PlayoutData10Ms(sampFreqHz, &decodedAudio);
return _acm->PlayoutData10Ms(sampFreqHz, (AudioFrame&)decodedAudio);
}
WebRtc_Word32 AudioCoder::Encode(const AudioFrame& audio,