Home
last modified time | relevance | path

Searched refs:incomingAudioFrame (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/webrtc/modules/utility/source/
Dfile_recorder_impl.cc133 const AudioFrame& incomingAudioFrame, in RecordAudioToFile() argument
144 if( incomingAudioFrame.num_channels_ == 2 && in RecordAudioToFile()
149 tempAudioFrame.sample_rate_hz_ = incomingAudioFrame.sample_rate_hz_; in RecordAudioToFile()
151 incomingAudioFrame.samples_per_channel_; in RecordAudioToFile()
153 i < (incomingAudioFrame.samples_per_channel_); i++) in RecordAudioToFile()
158 ((incomingAudioFrame.data_[2 * i] + in RecordAudioToFile()
159 incomingAudioFrame.data_[(2 * i) + 1] + 1) >> 1); in RecordAudioToFile()
162 else if( incomingAudioFrame.num_channels_ == 1 && in RecordAudioToFile()
167 tempAudioFrame.sample_rate_hz_ = incomingAudioFrame.sample_rate_hz_; in RecordAudioToFile()
169 incomingAudioFrame.samples_per_channel_; in RecordAudioToFile()
[all …]