Public Member Functions

gnash::media::AudioDecoderSpeex Class Reference

Audio decoder for the speex codec. More...

#include <AudioDecoderSpeex.h>

Inheritance diagram for gnash::media::AudioDecoderSpeex:
Inheritance graph
[legend]
Collaboration diagram for gnash::media::AudioDecoderSpeex:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AudioDecoderSpeex ()
 ~AudioDecoderSpeex ()
boost::uint8_t * decode (const EncodedAudioFrame &input, boost::uint32_t &outputSize)
 Decodes an EncodedAudioFrame and returns a pointer to the decoded data.

Detailed Description

Audio decoder for the speex codec.

This class will use the speex resampler if available


Constructor & Destructor Documentation

gnash::media::AudioDecoderSpeex::AudioDecoderSpeex (  ) 

References _.

gnash::media::AudioDecoderSpeex::~AudioDecoderSpeex (  ) 

References _.


Member Function Documentation

boost::uint8_t * gnash::media::AudioDecoderSpeex::decode ( const EncodedAudioFrame input,
boost::uint32_t &  outputSize 
) [virtual]

Decodes an EncodedAudioFrame and returns a pointer to the decoded data.

Parameters:
input The audio data
outputSize The output size of the video data, is passed by reference.
Returns:
a pointer to the decoded data, or NULL if decoding fails. The caller owns the decoded data, which was allocated with new [].
Todo:
return a SimpleBuffer by auto_ptr

Reimplemented from gnash::media::AudioDecoder.


The documentation for this class was generated from the following files: