Home
last modified time | relevance | path

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

/external/webrtc/webrtc/voice_engine/
Doutput_mixer.cc35 _audioFrame.CopyFrom(generalAudioFrame); in NewMixedAudio()
36 _audioFrame.id_ = id; in NewMixedAudio()
477 _outputFileRecorderPtr->RecordAudioToFile(_audioFrame); in GetMixedAudio()
484 RemixAndResample(_audioFrame, &resampler_, frame); in GetMixedAudio()
491 if (_audioFrame.sample_rate_hz_ != _mixingFrequencyHz) in DoOperationsOnCombinedSignal()
495 "mixing frequency = %d", _audioFrame.sample_rate_hz_); in DoOperationsOnCombinedSignal()
496 _mixingFrequencyHz = _audioFrame.sample_rate_hz_; in DoOperationsOnCombinedSignal()
508 if (_audioFrame.num_channels_ == 1) in DoOperationsOnCombinedSignal()
510 AudioFrameOperations::MonoToStereo(&_audioFrame); in DoOperationsOnCombinedSignal()
517 assert(_audioFrame.num_channels_ == 2); in DoOperationsOnCombinedSignal()
[all …]
Dtransmit_mixer.cc346 _audioFrame.data_, in PrepareDemux()
347 _audioFrame.samples_per_channel_, in PrepareDemux()
348 _audioFrame.sample_rate_hz_, in PrepareDemux()
349 _audioFrame.num_channels_ == 2); in PrepareDemux()
358 AudioFrameOperations::SwapStereoChannels(&_audioFrame); in PrepareDemux()
368 AudioFrameOperations::Mute(_audioFrame); in PrepareDemux()
379 AudioFrameOperations::Mute(_audioFrame); in PrepareDemux()
385 MixOrReplaceAudioWithFile(_audioFrame.sample_rate_hz_); in PrepareDemux()
396 RecordAudioToFile(_audioFrame.sample_rate_hz_); in PrepareDemux()
403 _audioFrame.data_, in PrepareDemux()
[all …]
Dchannel.cc1184 _timeStamp += static_cast<uint32_t>(_audioFrame.samples_per_channel_); in UpdateLocalTimeStamp()
3350 _audioFrame.CopyFrom(audioFrame); in Demultiplex()
3351 _audioFrame.id_ = _channelId; in Demultiplex()
3364 _audioFrame.sample_rate_hz_ = std::min(codec.plfreq, sample_rate); in Demultiplex()
3365 _audioFrame.num_channels_ = std::min(number_of_channels, codec.channels); in Demultiplex()
3367 sample_rate, &input_resampler_, &_audioFrame); in Demultiplex()
3376 if (_audioFrame.samples_per_channel_ == 0) in PrepareEncodeAndSend()
3390 AudioFrameOperations::Mute(_audioFrame); in PrepareEncodeAndSend()
3396 const bool isStereo = (_audioFrame.num_channels_ == 2); in PrepareEncodeAndSend()
3402 (int16_t*)_audioFrame.data_, in PrepareEncodeAndSend()
[all …]
Doutput_mixer.h116 AudioFrame _audioFrame; variable
Dtransmit_mixer.h200 AudioFrame _audioFrame; variable
Dchannel.h517 AudioFrame _audioFrame; variable
/external/webrtc/webrtc/modules/audio_coding/test/
DEncodeDecodeTest.cc50 _audioFrame(), in Sender()
104 EXPECT_GT(_pcmFile.Read10MsData(_audioFrame), 0); in Add10MsData()
105 int32_t ok = _acm->Add10MsData(_audioFrame); in Add10MsData()
DEncodeDecodeTest.h65 AudioFrame _audioFrame; variable