Gnash
0.8.11dev
|
Haiku media kit based AudioDecoder. More...
#include <AudioDecoderHaiku.h>
Public Member Functions | |
AudioDecoderHaiku (const AudioInfo &info) | |
AudioDecoderHaiku (SoundInfo &info) | |
~AudioDecoderHaiku () | |
std::uint8_t * | decode (const std::uint8_t *input, std::uint32_t inputSize, std::uint32_t &outputSize, std::uint32_t &decodedBytes) |
Decodes a frame and returns a pointer to the data. More... | |
std::uint8_t * | decode (const EncodedAudioFrame &af, std::uint32_t &outputSize) |
Decodes an EncodedAudioFrame and returns a pointer to the decoded data. More... | |
![]() | |
AudioDecoder () | |
virtual | ~AudioDecoder () |
Haiku media kit based AudioDecoder.
gnash::media::haiku::AudioDecoderHaiku::AudioDecoderHaiku | ( | const AudioInfo & | info | ) |
info | AudioInfo class with all the info needed to decode the sound correctly. Throws a MediaException on fatal error. |
References QQ.
gnash::media::haiku::AudioDecoderHaiku::AudioDecoderHaiku | ( | SoundInfo & | info | ) |
info | SoundInfo class with all the info needed to decode the sound correctly. Throws a MediaException on fatal error. |
References QQ.
gnash::media::haiku::AudioDecoderHaiku::~AudioDecoderHaiku | ( | ) |
References QQ.
|
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. |
Reimplemented from gnash::media::AudioDecoder.
References data, gnash::key::i, and gnash::key::t.
|
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 from gnash::media::AudioDecoder.
References QQ.