Home
last modified time | relevance | path

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

/frameworks/av/cmds/stagefright/
DAudioPlayer.cpp149 int32_t pcmEncoding; in start() local
150 if (format->findInt32(kKeyPcmEncoding, &pcmEncoding)) { in start()
151 sAudioFormatToPcmEncoding.map(pcmEncoding, &audioFormat); in start()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp96 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/libstagefright/
DUtils.cpp1024 int32_t pcmEncoding; in convertMetaDataToMessage() local
1025 if (meta->findInt32(kKeyPcmEncoding, &pcmEncoding)) { in convertMetaDataToMessage()
1026 msg->setInt32("pcm-encoding", pcmEncoding); in convertMetaDataToMessage()
1773 int32_t pcmEncoding; in convertMessageToMetaData() local
1774 if (msg->findInt32("pcm-encoding", &pcmEncoding)) { in convertMessageToMetaData()
1775 meta->setInt32(kKeyPcmEncoding, pcmEncoding); in convertMessageToMetaData()
DACodec.cpp2028 AudioEncoding pcmEncoding = kAudioEncodingPcm16bit; in configureCodec() local
2029 (void)msg->findInt32("pcm-encoding", (int32_t*)&pcmEncoding); in configureCodec()
2222 encoder, numChannels, sampleRate, compressionLevel, pcmEncoding); in configureCodec()
2231 err = setupRawAudioFormat(kPortIndexInput, sampleRate, numChannels, pcmEncoding); in configureCodec()
2331 mConverter[kPortIndexInput] = AudioConverter::Create(pcmEncoding, codecPcmEncoding); in configureCodec()
2334 __func__, mComponentName.c_str(), pcmEncoding, codecPcmEncoding); in configureCodec()
2335 mInputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec()
2339 mConverter[kPortIndexOutput] = AudioConverter::Create(codecPcmEncoding, pcmEncoding); in configureCodec()
2342 __func__, mComponentName.c_str(), codecPcmEncoding, pcmEncoding); in configureCodec()
2343 mOutputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec()
[all …]