cAudio 2.3.0
3d Audio Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
cAudio::cRawAudioDecoderFactory Class Reference
Inheritance diagram for cAudio::cRawAudioDecoderFactory:
Inheritance graph
[legend]
Collaboration diagram for cAudio::cRawAudioDecoderFactory:
Collaboration graph
[legend]

Public Member Functions

IAudioDecoderCreateAudioDecoder (IDataSource *stream)
 Returns an audio decoder.
 
IAudioDecoderCreateAudioDecoder (IDataSource *stream, unsigned int frequency=22050, AudioFormats format=EAF_16BIT_MONO)
 
virtual IAudioDecoderCreateAudioDecoder (IDataSource *stream)=0
 Returns an audio decoder.
 

Detailed Description

Definition at line 13 of file cRawAudioDecoderFactory.h.

Constructor & Destructor Documentation

◆ cRawAudioDecoderFactory()

cAudio::cRawAudioDecoderFactory::cRawAudioDecoderFactory ( )
inline

Definition at line 16 of file cRawAudioDecoderFactory.h.

◆ ~cRawAudioDecoderFactory()

cAudio::cRawAudioDecoderFactory::~cRawAudioDecoderFactory ( )
inline

Definition at line 17 of file cRawAudioDecoderFactory.h.

Member Function Documentation

◆ CreateAudioDecoder() [1/2]

IAudioDecoder * cAudio::cRawAudioDecoderFactory::CreateAudioDecoder ( IDataSource stream)
inlinevirtual

Returns an audio decoder.

Parameters
streamData Source to attach to this decoder.
Returns
A pointer to a decoder instance, or NULL on failure to allocate.

Implements cAudio::IAudioDecoderFactory.

Definition at line 19 of file cRawAudioDecoderFactory.h.

◆ CreateAudioDecoder() [2/2]

IAudioDecoder * cAudio::cRawAudioDecoderFactory::CreateAudioDecoder ( IDataSource stream,
unsigned int  frequency = 22050,
AudioFormats  format = EAF_16BIT_MONO 
)
inline

Definition at line 24 of file cRawAudioDecoderFactory.h.


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