Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/mp3/
H A Daudio_mp3_encoder_plugin.cpp32 constexpr int32_t ONE_CHANNEL = 1; variable
101 channels_(ONE_CHANNEL), in AudioMp3EncoderPlugin()
118 if (channels_ != ONE_CHANNEL && channels_ != TWO_CHANNELS) { in CheckFormat()
194 if ((channels_ == ONE_CHANNEL && inputSize > LAME_INPUT_BUFFER_SIZE_ONE_CHAN) || in QueueInputBuffer()
207 …sampleNumTmp = channels_ == ONE_CHANNEL ? inputSize / sizeof(int16_t) : inputSize / sizeof(int16_t… in QueueInputBuffer()