Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/media_file/
Dmedia_file_utility.cc56 codec_info_(), in ModuleFileUtility()
65 memset(&codec_info_,0,sizeof(CodecInst)); in ModuleFileUtility()
66 codec_info_.pltype = -1; in ModuleFileUtility()
260 codec_info_.pltype = -1; in InitWavCodec()
261 codec_info_.plfreq = samplesPerSec; in InitWavCodec()
262 codec_info_.channels = channels; in InitWavCodec()
263 codec_info_.rate = bitsPerSample * samplesPerSec; in InitWavCodec()
269 strcpy(codec_info_.plname, "PCMA"); in InitWavCodec()
271 codec_info_.pltype = 8; in InitWavCodec()
272 codec_info_.pacsize = codec_info_.plfreq / 100; in InitWavCodec()
[all …]
Dmedia_file_impl.cc36 codec_info_(), in MediaFileImpl()
52 codec_info_.plname[0] = '\0'; in MediaFileImpl()
534 if(_ptrFileUtilityObj->codec_info(codec_info_) == -1) in StartPlayingStream()
542 _isStereo = (codec_info_.channels == 2); in StartPlayingStream()
579 codec_info_.pltype = 0; in StopPlaying()
580 codec_info_.plname[0] = '\0'; in StopPlaying()
635 uint32_t samplesWritten = codec_info_.pacsize; in IncomingAudioData()
663 if(bytesWritten > 0 && STR_NCASE_CMP(codec_info_.plname, in IncomingAudioData()
692 _recordDurationMs += samplesWritten / (codec_info_.plfreq / 1000); in IncomingAudioData()
920 memcpy(&codec_info_, &tmpAudioCodec, sizeof(CodecInst)); in StartRecordingAudioStream()
[all …]
Dmedia_file_impl.h127 CodecInst codec_info_; variable
Dmedia_file_utility.h269 CodecInst codec_info_; variable
/external/webrtc/webrtc/modules/utility/source/
Dfile_recorder_impl.cc34 codec_info_(), in FileRecorderImpl()
70 codec_info_ = codecInst; in StartRecordingAudioFile()
98 codec_info_ = codecInst; in StartRecordingAudioFile()
123 memset(&codec_info_, 0, sizeof(CodecInst)); in StopRecording()
136 if (codec_info_.plfreq == 0) in RecordAudioToFile()
195 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in RecordAudioToFile()
201 << codec_info_.plname in RecordAudioToFile()
208 codec_info_.plfreq, in RecordAudioToFile()
234 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in SetUpAudioEncoder()
236 if(_audioEncoder.SetEncodeCodec(codec_info_) == -1) in SetUpAudioEncoder()
[all …]
Dfile_recorder_impl.h87 CodecInst codec_info_;