#include <AudioDecoderGst.h>

Public Member Functions | |
| AudioDecoderGst () | |
| ~AudioDecoderGst () | |
| bool | setup (AudioInfo *info) |
| Sets up the decoder. | |
| 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. | |
Static Public Member Functions | |
| static void | callback_handoff (GstElement *, GstBuffer *buffer, GstPad *, gpointer user_data) |
| static void | callback_output (GstElement *, GstBuffer *buffer, GstPad *, gpointer user_data) |
| gnash::media::AudioDecoderGst::AudioDecoderGst | ( | ) |
| gnash::media::AudioDecoderGst::~AudioDecoderGst | ( | ) |
Sets up the decoder.
| info | AudioInfo class with all the info needed to decode the sound correctly. |
Reimplemented from gnash::media::AudioDecoder.
| boost::uint8_t* gnash::media::AudioDecoderGst::decode | ( | boost::uint8_t * | , | |
| boost::uint32_t | , | |||
| boost::uint32_t & | , | |||
| boost::uint32_t & | , | |||
| bool | ||||
| ) | [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 from gnash::media::AudioDecoder.
| static void gnash::media::AudioDecoderGst::callback_handoff | ( | GstElement * | , | |
| GstBuffer * | buffer, | |||
| GstPad * | , | |||
| gpointer | user_data | |||
| ) | [static] |
| static void gnash::media::AudioDecoderGst::callback_output | ( | GstElement * | , | |
| GstBuffer * | buffer, | |||
| GstPad * | , | |||
| gpointer | user_data | |||
| ) | [static] |
1.5.4