List of all members.
Detailed Description
Pure virtual AudioStream base class. Subclasses provide mechanism for reading/generating audio data
Member Enumeration Documentation
- Enumerator:
SAMPLE_FORMAT_U8 |
|
SAMPLE_FORMAT_S16 |
|
SAMPLE_FORMAT_S24 |
|
SAMPLE_FORMAT_S32 |
|
SAMPLE_FORMAT_F32 |
|
Constructor & Destructor Documentation
osg::AudioStream::AudioStream |
( |
|
) |
|
osg::AudioStream::AudioStream |
( |
const AudioStream & |
audio, |
|
|
const CopyOp & |
copyop = CopyOp::SHALLOW_COPY | |
|
) |
| | |
Copy constructor using CopyOp to manage deep vs shallow copy.
Member Function Documentation
virtual int osg::AudioStream::audioFrequency |
( |
|
) |
const [pure virtual] |
virtual int osg::AudioStream::audioNbChannels |
( |
|
) |
const [pure virtual] |
virtual SampleFormat osg::AudioStream::audioSampleFormat |
( |
|
) |
const [pure virtual] |
virtual const char* osg::AudioStream::className |
( |
|
) |
const [inline, virtual] |
return the name of the object's class type. Must be defined by derived classes.
Implements osg::Object.
virtual void osg::AudioStream::consumeAudioBuffer |
( |
void *const |
buffer, |
|
|
const size_t |
size | |
|
) |
| | [pure virtual] |
virtual bool osg::AudioStream::isSameKindAs |
( |
const Object * |
obj |
) |
const [inline, virtual] |
virtual const char* osg::AudioStream::libraryName |
( |
|
) |
const [inline, virtual] |
return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.
Implements osg::Object.
virtual void osg::AudioStream::setAudioSink |
( |
osg::AudioSink * |
audio_sink |
) |
[pure virtual] |
The documentation for this class was generated from the following file: