|
Blender
V2.59
|
#include <AUD_SndFileFactory.h>

Public Member Functions | |
| AUD_SndFileFactory (std::string filename) | |
| AUD_SndFileFactory (const data_t *buffer, int size) | |
| virtual AUD_IReader * | createReader () const |
This factory reads a sound file via libsndfile.
Definition at line 44 of file AUD_SndFileFactory.h.
| AUD_SndFileFactory::AUD_SndFileFactory | ( | std::string | filename | ) |
Creates a new factory.
| filename | The sound file path. |
Definition at line 38 of file AUD_SndFileFactory.cpp.
| AUD_SndFileFactory::AUD_SndFileFactory | ( | const data_t * | buffer, |
| int | size | ||
| ) |
Creates a new factory.
| buffer | The buffer to read from. |
| size | The size of the buffer. |
Definition at line 43 of file AUD_SndFileFactory.cpp.
References AUD_Reference< T >::get(), AUD_Buffer::getBuffer(), and size().
| AUD_IReader * AUD_SndFileFactory::createReader | ( | ) | const [virtual] |
Creates a reader for playback of the sound source.
| AUD_Exception | An 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_SndFileFactory.cpp.
References AUD_Reference< T >::get().