csSoundDataRaw Class Reference
Inheritance diagram for csSoundDataRaw:

Public Member Functions | |
virtual const csSoundFormat * | GetFormat () |
Get the format of the sound data. | |
virtual void * | GetStaticData () |
Get a pointer to the data buffer (static sounds only). | |
virtual long | GetStaticSampleCount () |
Get size of this sound in samples (static sounds only). | |
virtual bool | Initialize (const csSoundFormat *fmt) |
Prepare the sound for output using the given format. | |
virtual bool | IsStatic () |
Return true if this is a static sound, false if it is streamed. | |
virtual void * | ReadStreamed (long &NumSamples) |
Read a data buffer from the sound (streamed sounds only). | |
virtual void | ResetStreamed () |
Reset the sound to the beginning (streamed sounds only). | |
Public Attributes | |
SCF_DECLARE_IBASE |
Detailed Description
Definition at line 26 of file soundraw.h.
Member Function Documentation
|
Get the format of the sound data.
Implements iSoundData. |
|
Get a pointer to the data buffer (static sounds only).
Implements iSoundData. |
|
Get size of this sound in samples (static sounds only).
Implements iSoundData. |
|
Prepare the sound for output using the given format.
Implements iSoundData. |
|
Return true if this is a static sound, false if it is streamed.
Implements iSoundData. |
|
Read a data buffer from the sound (streamed sounds only). The NumSamples parameter is modified to a smaller value if not all samples could be read (i.e. the stream is finished). The returned buffer is valid until the next call to Read(). Implements iSoundData. |
|
Reset the sound to the beginning (streamed sounds only).
Implements iSoundData. |
The documentation for this class was generated from the following file:
- csplugincommon/soundloader/soundraw.h
Generated for Crystal Space by doxygen 1.4.4