
Public Member Functions | |
| Stream () throw (NameError) | |
| Stream (const Stream &stream) | |
| Stream & | operator= (const Stream &stream) |
| void | prepareForDeletion () |
| void | record (ALuint sourcename) |
| void | seek (float time_s) |
| void | stop (ALuint sourcename) |
Protected Member Functions | |
| virtual | ~Stream () |
Protected Attributes | |
| osg::ref_ptr< SoundData > | buffer2_ |
| osg::ref_ptr< StreamUpdater > | updater_ |
| bool | isRecording_ |
| openalpp::Stream::Stream | ( | ) | throw (NameError) |
Default constructor.
| openalpp::Stream::Stream | ( | const Stream & | stream | ) |
Copy constructor.
| virtual openalpp::Stream::~Stream | ( | ) | [protected, virtual] |
Destructor.
| void openalpp::Stream::prepareForDeletion | ( | ) | [inline] |
| void openalpp::Stream::record | ( | ALuint | sourcename | ) |
Start recording. I.e. start copying data to buffers.
| sourcename | is the (OpenAL) name of the source. |
| void openalpp::Stream::seek | ( | float | time_s | ) |
Seeks to specified time
| void openalpp::Stream::stop | ( | ALuint | sourcename | ) |
Stop recording.
| sourcename | is the (OpenAL) name of the source. |
osg::ref_ptr<SoundData> openalpp::Stream::buffer2_ [protected] |
For double-buffering of sounds.
bool openalpp::Stream::isRecording_ [protected] |
osg::ref_ptr<StreamUpdater> openalpp::Stream::updater_ [protected] |
1.5.9