#include <AudioDecoder.h>

Public Member Functions | |
| AudioDecoder () | |
| virtual | ~AudioDecoder () |
| virtual bool | setup (AudioInfo *) |
| Sets up the decoder. | |
| virtual bool | setup (SoundInfo *) |
| Sets up the decoder. | |
| virtual boost::uint8_t * | decode (boost::uint8_t *, boost::uint32_t, boost::uint32_t &, boost::uint32_t &, bool) |
| Decodes a frame and returns a pointer to the data. | |
| gnash::media::AudioDecoder::AudioDecoder | ( | ) | [inline] |
| virtual gnash::media::AudioDecoder::~AudioDecoder | ( | ) | [inline, virtual] |
Sets up the decoder.
| info | AudioInfo class with all the info needed to decode the sound correctly. |
Reimplemented in gnash::media::AudioDecoderNellymoser, gnash::media::AudioDecoderSimple, gnash::media::AudioDecoderFfmpeg, and gnash::media::AudioDecoderGst.
Sets up the decoder.
| info | SoundInfo class with all the info needed to decode the audio correctly. |
Reimplemented in gnash::media::AudioDecoderNellymoser, gnash::media::AudioDecoderSimple, and gnash::media::AudioDecoderFfmpeg.
| virtual boost::uint8_t* gnash::media::AudioDecoder::decode | ( | boost::uint8_t * | , | |
| boost::uint32_t | , | |||
| boost::uint32_t & | , | |||
| boost::uint32_t & | , | |||
| bool | ||||
| ) | [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::AudioDecoderNellymoser, gnash::media::AudioDecoderSimple, gnash::media::AudioDecoderFfmpeg, and gnash::media::AudioDecoderGst.
1.5.4