Blender V2.61 - r43446
Public Member Functions

AUD_FFMPEGFactory Class Reference

#include <AUD_FFMPEGFactory.h>

Inheritance diagram for AUD_FFMPEGFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_FFMPEGFactory (std::string filename)
 AUD_FFMPEGFactory (const data_t *buffer, int size)
virtual AUD_Reference
< AUD_IReader
createReader ()

Detailed Description

This factory reads a sound file via ffmpeg.

Warning:
Notice that the needed formats and codecs have to be registered for ffmpeg before this class can be used.

Definition at line 44 of file AUD_FFMPEGFactory.h.


Constructor & Destructor Documentation

AUD_FFMPEGFactory::AUD_FFMPEGFactory ( std::string  filename)

Creates a new factory.

Parameters:
filenameThe sound file path.

Definition at line 38 of file AUD_FFMPEGFactory.cpp.

AUD_FFMPEGFactory::AUD_FFMPEGFactory ( const data_t buffer,
int  size 
)

Creates a new factory.

Parameters:
bufferThe buffer to read from.
sizeThe size of the buffer.

Definition at line 43 of file AUD_FFMPEGFactory.cpp.

References size().


Member Function Documentation

AUD_Reference< AUD_IReader > AUD_FFMPEGFactory::createReader ( ) [virtual]

Creates a reader for playback of the sound source.

Returns:
A pointer to an AUD_IReader object or NULL if there has been an error.
Exceptions:
AUD_ExceptionAn exception may be thrown if there has been a more unexpected error during reader creation.

Implements AUD_IFactory.

Definition at line 49 of file AUD_FFMPEGFactory.cpp.

References AUD_Reference< T >::isNull().


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