![]() |
CRM64Pro GDK v0.11.0
A free cross-platform game development kit built on top of SDL 3.0
|
Inherits CRM64Pro::ManagerBase.
Public Member Functions | |
| Sint32 | info (Sint32 idSnd=0) |
| Request Sound Manager information. | |
| Sint32 | close (Sint32 idSnd=0) |
| Close and destroy a sound. | |
| Sint32 | getNum () |
| Get number of loaded objects. | |
| Sint32 | setName (Sint32 idSnd, const string &sName) |
| Change the object name. | |
| Sound * | get (Sint32 idSnd=0) |
| Get a pointer to the sound using its handler. | |
| Sint32 | stop (Sint32 iChannel) |
| Stop sound playing in a channel. | |
| Sint32 | pause (Sint32 iChannel) |
| Pause sound playing in a channel. | |
| Sint32 | resume (Sint32 iChannel) |
| Resume sound playing in a channel. | |
| Sint32 | status (Sint32 iChannel) |
| Get the sound status on a given channel. | |
| Sint32 | fadeOut (Sint32 iChannel, Sint32 iTime=1000) |
| Sound fade out effect in a channel. | |
| Sint32 | panning (Sint32 iChannel=-1, Uint8 iLeft=255, Uint8 iRight=255) |
| Set the panning of a channel. | |
| Sint32 | distance (Sint32 iChannel=-1, Uint8 iDistance=0) |
| Set the distance of a channel. | |
| Sint32 | position (Sint32 iChannel=-1, Sint16 iAngle=0, Uint8 iDistance=0) |
| Set the position of a channel. | |
| Sint32 | loadFromFile (const string &sFile, const string &sName="") |
| Load a sound from an external file. | |
| Sint32 | load (const string &sFileCDC, const string &sName) |
| Load a sound stored in a CDC file. | |
| Sint32 | load (const Sint32 idCDC, const string &sName) |
| Load a sound stored in a CDC file. | |
| Sint32 | remove (const Sint32 idCDC, const string &sName) |
| Remove a sound stored in a CDC file. | |
| Sint32 | exist (Sint32 idCDC, const string &sName) |
| Check if a sound is stored in a CDC file. | |
Sound Manager class.