
Public Member Functions | |
| FileStreamUpdater (OggVorbis_File *oggfile, const ALuint buffer1, ALuint buffer2, ALenum format, unsigned int frequency, unsigned int buffersize) | |
| void | run () |
| void | seek (float time_s) |
| void | setLooping (bool loop=true) |
Protected Member Functions | |
| virtual | ~FileStreamUpdater () |
| openalpp::FileStreamUpdater::FileStreamUpdater | ( | OggVorbis_File * | oggfile, | |
| const ALuint | buffer1, | |||
| ALuint | buffer2, | |||
| ALenum | format, | |||
| unsigned int | frequency, | |||
| unsigned int | buffersize | |||
| ) |
Constructor.
| oggfile | is the structure created by ov_open | |
| buffer1 | and... | |
| buffer2 | are the sound buffers to use. | |
| format | is the (OpenAL) format of the sound data. | |
| frequency | is the frequency of the sound data. | |
| buffersize | is the size of the buffer (in bytes) |
| virtual openalpp::FileStreamUpdater::~FileStreamUpdater | ( | ) | [protected, virtual] |
Destructor.
| void openalpp::FileStreamUpdater::run | ( | ) |
Inherited from Thread. This will be called when the updater is Start():ed..
| void openalpp::FileStreamUpdater::seek | ( | float | time_s | ) | [virtual] |
Seeks to specified time
Reimplemented from openalpp::StreamUpdater.
| void openalpp::FileStreamUpdater::setLooping | ( | bool | loop = true |
) |
Turn on/off looping.
| loop | is true if the stream should loop, false otherwise. |
1.5.9