EncodedAudioFrameInfo
Audio information after encoding.
struct EncodedAudioFrameInfo { EncodedAudioFrameInfo() : codec(AUDIO_CODEC_AACLC), sampleRateHz(0), samplesPerChannel(0), numberOfChannels(0) {} EncodedAudioFrameInfo(const EncodedAudioFrameInfo& rhs) : codec(rhs.codec), sampleRateHz(rhs.sampleRateHz), samplesPerChannel(rhs.samplesPerChannel), numberOfChannels(rhs.numberOfChannels), advancedSettings(rhs.advancedSettings) {} AUDIO_CODEC_TYPE codec; int sampleRateHz; int samplesPerChannel; int numberOfChannels; EncodedAudioFrameAdvancedSettings advancedSettings; };
Attributes
- codec
- Audio Codec type: AUDIO_CODEC_TYPE.
- sampleRateHz
- Audio sample rate (Hz).
- samplesPerChannel
- The number of audio samples per channel.
- numberOfChannels
- The number of audio channels.
- advancedSettings
- This function is currently not supported.