Searched refs:pcmEncoding (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | AudioPlayer.cpp | 148 int32_t pcmEncoding; in start() local 149 if (format->findInt32(kKeyPcmEncoding, &pcmEncoding)) { in start() 150 sAudioFormatToPcmEncoding.map(pcmEncoding, &audioFormat); in start()
|
D | Utils.cpp | 1029 int32_t pcmEncoding; in convertMetaDataToMessage() local 1030 if (meta->findInt32(kKeyPcmEncoding, &pcmEncoding)) { in convertMetaDataToMessage() 1031 msg->setInt32("pcm-encoding", pcmEncoding); in convertMetaDataToMessage() 1778 int32_t pcmEncoding; in convertMessageToMetaData() local 1779 if (msg->findInt32("pcm-encoding", &pcmEncoding)) { in convertMessageToMetaData() 1780 meta->setInt32(kKeyPcmEncoding, pcmEncoding); in convertMessageToMetaData()
|
D | ACodec.cpp | 2021 AudioEncoding pcmEncoding = kAudioEncodingPcm16bit; in configureCodec() local 2022 (void)msg->findInt32("pcm-encoding", (int32_t*)&pcmEncoding); in configureCodec() 2215 encoder, numChannels, sampleRate, compressionLevel, pcmEncoding); in configureCodec() 2224 err = setupRawAudioFormat(kPortIndexInput, sampleRate, numChannels, pcmEncoding); in configureCodec() 2324 mConverter[kPortIndexInput] = AudioConverter::Create(pcmEncoding, codecPcmEncoding); in configureCodec() 2327 __func__, mComponentName.c_str(), pcmEncoding, codecPcmEncoding); in configureCodec() 2328 mInputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec() 2332 mConverter[kPortIndexOutput] = AudioConverter::Create(codecPcmEncoding, pcmEncoding); in configureCodec() 2335 __func__, mComponentName.c_str(), codecPcmEncoding, pcmEncoding); in configureCodec() 2336 mOutputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 96 static audio_format_t constexpr audioFormatFromEncoding(int32_t pcmEncoding) { in audioFormatFromEncoding() argument 97 switch (pcmEncoding) { in audioFormatFromEncoding() 105 ALOGE("%s: Invalid encoding: %d", __func__, pcmEncoding); in audioFormatFromEncoding() 1916 int32_t pcmEncoding; in onOpenAudioSink() local 1918 format->findInt32(KEY_PCM_ENCODING, &pcmEncoding) ? in onOpenAudioSink() 1919 audioFormatFromEncoding(pcmEncoding) : AUDIO_FORMAT_PCM_16_BIT; in onOpenAudioSink()
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Renderer.cpp | 95 static audio_format_t constexpr audioFormatFromEncoding(int32_t pcmEncoding) { in audioFormatFromEncoding() argument 96 switch (pcmEncoding) { in audioFormatFromEncoding() 104 ALOGE("%s: Invalid encoding: %d", __func__, pcmEncoding); in audioFormatFromEncoding() 1903 int32_t pcmEncoding; in onOpenAudioSink() local 1905 format->findInt32(KEY_PCM_ENCODING, &pcmEncoding) ? in onOpenAudioSink() 1906 audioFormatFromEncoding(pcmEncoding) : AUDIO_FORMAT_PCM_16_BIT; in onOpenAudioSink()
|