Loading media/codec2/core/include/C2Config.h +14 −2 Original line number Diff line number Diff line Loading @@ -221,6 +221,7 @@ enum C2ParamIndexKind : C2Param::type_index_t { kParamIndexDrcEffectType, // drc, enum kParamIndexDrcOutputLoudness, // drc, float (dBFS) kParamIndexDrcAlbumMode, // drc, enum kParamIndexAudioFrameSize, // int /* ============================== platform-defined parameters ============================== */ Loading Loading @@ -1973,6 +1974,17 @@ constexpr char C2_PARAMKEY_DRC_ALBUM_MODE[] = "coding.drc.album-mode"; C2StreamDrcOutputLoudnessTuning; constexpr char C2_PARAMKEY_DRC_OUTPUT_LOUDNESS[] = "output.drc.output-loudness"; /** * Audio frame size in samples. * * Audio encoders can expose this parameter to signal the desired audio frame * size that corresponds to a single coded access unit. * Default value is 0, meaning that the encoder accepts input buffers of any size. */ typedef C2StreamParam<C2Info, C2Uint32Value, kParamIndexAudioFrameSize> C2StreamAudioFrameSizeInfo; constexpr char C2_PARAMKEY_AUDIO_FRAME_SIZE[] = "raw.audio-frame-size"; /* --------------------------------------- AAC components --------------------------------------- */ /** Loading Loading
media/codec2/core/include/C2Config.h +14 −2 Original line number Diff line number Diff line Loading @@ -221,6 +221,7 @@ enum C2ParamIndexKind : C2Param::type_index_t { kParamIndexDrcEffectType, // drc, enum kParamIndexDrcOutputLoudness, // drc, float (dBFS) kParamIndexDrcAlbumMode, // drc, enum kParamIndexAudioFrameSize, // int /* ============================== platform-defined parameters ============================== */ Loading Loading @@ -1973,6 +1974,17 @@ constexpr char C2_PARAMKEY_DRC_ALBUM_MODE[] = "coding.drc.album-mode"; C2StreamDrcOutputLoudnessTuning; constexpr char C2_PARAMKEY_DRC_OUTPUT_LOUDNESS[] = "output.drc.output-loudness"; /** * Audio frame size in samples. * * Audio encoders can expose this parameter to signal the desired audio frame * size that corresponds to a single coded access unit. * Default value is 0, meaning that the encoder accepts input buffers of any size. */ typedef C2StreamParam<C2Info, C2Uint32Value, kParamIndexAudioFrameSize> C2StreamAudioFrameSizeInfo; constexpr char C2_PARAMKEY_AUDIO_FRAME_SIZE[] = "raw.audio-frame-size"; /* --------------------------------------- AAC components --------------------------------------- */ /** Loading