Sound buffer interface.
Public Member Functions | |
| virtual iSoundBuffer * | CreateInstance ()=0 |
| Create an instance of this sound buffer. More... | |
| virtual tBool | GetIsInstance () const =0 |
| Get whether the sound buffer is an instance. {Property}. More... | |
| virtual tBool | GetIsStreamed () const =0 |
| Get whether the sound is streamed. {Property}. More... | |
| virtual eSoundFormat | GetFormat () const =0 |
| Get the sound buffer's format. {Property}. More... | |
| virtual tU32 | GetFrequency () const =0 |
| Get the sound buffer frequency. {Property}. More... | |
| virtual iSoundData * | GetStreamSoundData () const =0 |
| Get the streamed sound data. {Property}. More... | |
| virtual void | ResetPosition ()=0 |
| Reset the sound buffer position. More... | |
| virtual tBool | ReadRaw (tPtr apOut, tU32 anBytes, tBool abLoop)=0 |
| Retrieve data in the sound buffer. More... | |
Public Member Functions inherited from iDeviceResource | |
| virtual iHString * | GetDeviceResourceName () const =0 |
| Get the resource's name. More... | |
| virtual tBool | HasDeviceResourceBeenReset (tBool abClearFlag)=0 |
| Check whether the device resource has just been reset. More... | |
| virtual tBool | ResetDeviceResource ()=0 |
| Reset the device resource. More... | |
| virtual iDeviceResource * | Bind (iUnknown *apDevice)=0 |
| Called when the resource is going to be used by the device. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Create an instance of this sound buffer.
|
pure virtual |
Get whether the sound buffer is an instance. {Property}.
|
pure virtual |
Get whether the sound is streamed. {Property}.
|
pure virtual |
Get the sound buffer's format. {Property}.
|
pure virtual |
Get the sound buffer frequency. {Property}.
|
pure virtual |
Get the streamed sound data. {Property}.
|
pure virtual |
Reset the sound buffer position.
1.8.7