Audio decoding base class. More...
#include <AudioDecoder.h>
Public Member Functions | |
| AudioDecoder () | |
| virtual | ~AudioDecoder () |
| virtual boost::uint8_t * | decode (const boost::uint8_t *input, boost::uint32_t inputSize, boost::uint32_t &outputSize, boost::uint32_t &decodedData, bool parse) |
| Decodes a frame and returns a pointer to the data. | |
| virtual boost::uint8_t * | decode (const EncodedAudioFrame &input, boost::uint32_t &outputSize) |
| Decodes an EncodedAudioFrame and returns a pointer to the decoded data. | |
Audio decoding base class.
| gnash::media::AudioDecoder::AudioDecoder | ( | ) | [inline] |
| virtual gnash::media::AudioDecoder::~AudioDecoder | ( | ) | [inline, virtual] |
| boost::uint8_t * gnash::media::AudioDecoder::decode | ( | const boost::uint8_t * | input, | |
| boost::uint32_t | inputSize, | |||
| boost::uint32_t & | outputSize, | |||
| boost::uint32_t & | decodedData, | |||
| bool | parse | |||
| ) | [inline, virtual] |
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. | |
| parse | Should we parse the audio? Needed for embedded MP3 sounds. |
Reimplemented in gnash::media::AudioDecoderSimple, gnash::media::ffmpeg::AudioDecoderFfmpeg, gnash::media::gst::AudioDecoderGst, and gnash::media::haiku::AudioDecoderHaiku.
| boost::uint8_t * gnash::media::AudioDecoder::decode | ( | const EncodedAudioFrame & | input, | |
| boost::uint32_t & | outputSize | |||
| ) | [inline, virtual] |
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::AudioDecoderSpeex, gnash::media::ffmpeg::AudioDecoderFfmpeg, gnash::media::gst::AudioDecoderGst, and gnash::media::haiku::AudioDecoderHaiku.
1.7.1