|
Gnash
0.8.11dev
|
Audio decoding base class. More...
#include <AudioDecoder.h>
Public Member Functions | |
| AudioDecoder () | |
| virtual | ~AudioDecoder () |
| virtual std::uint8_t * | decode (const std::uint8_t *input, std::uint32_t inputSize, std::uint32_t &outputSize, std::uint32_t &decodedData) |
| Decodes a frame and returns a pointer to the data. More... | |
| virtual std::uint8_t * | decode (const EncodedAudioFrame &input, std::uint32_t &outputSize) |
| Decodes an EncodedAudioFrame and returns a pointer to the decoded data. More... | |
Audio decoding base class.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Decodes a frame and returns a pointer to the data.
| input | The audio data |
| inputSize | The size of the video data |
| outputSize | The output size of the video data, is passed by reference. |
| decodedData | The amount of bytes that has been decoded when decoding is done, is passed by reference. |
Reimplemented in gnash::media::AudioDecoderSimple, gnash::media::ffmpeg::AudioDecoderFfmpeg, gnash::media::haiku::AudioDecoderHaiku, and gnash::media::gst::AudioDecoderGst.
Referenced by gnash::sound::EmbedSoundInst::EmbedSoundInst(), and gnash::sound::StreamingSound::StreamingSound().
|
inlinevirtual |
Decodes an EncodedAudioFrame and returns a pointer to the decoded data.
| input | The audio data |
| outputSize | The output size of the video data, is passed by reference. |
Reimplemented in gnash::media::ffmpeg::AudioDecoderFfmpeg, gnash::media::haiku::AudioDecoderHaiku, gnash::media::gst::AudioDecoderGst, and gnash::media::AudioDecoderSpeex.
1.8.12