CRM64Pro GDK  v0.94
A free cross-platform game development kit built on top of SDL 2.0
Public Member Functions | List of all members
CRM64Pro::SoundMgr Class Reference

Inherits CRM64Pro::Base, and CRM64Pro::ManagerBase.

Public Member Functions

Sint32 info (Sint32 idSnd=0)
 
Sint32 close (Sint32 idSnd)
 
Sint32 getNum ()
 
Sint32 setName (Sint32 idSnd, const string &sName)
 
SoundObjget (Sint32 idSnd=0)
 
Sint32 stop (Sint32 iChannel)
 
Sint32 pause (Sint32 iChannel)
 
Sint32 resume (Sint32 iChannel)
 
Sint32 status (Sint32 iChannel)
 
Sint32 fadeOut (Sint32 iChannel, Sint32 iTime=1000)
 
Sint32 panning (Sint32 iChannel=-1, Uint8 iLeft=255, Uint8 iRight=255)
 
Sint32 distance (Sint32 iChannel=-1, Uint8 iDistance=0)
 
Sint32 position (Sint32 iChannel=-1, Sint16 iAngle=0, Uint8 iDistance=0)
 
Sint32 loadFromFile (const string &sFile, const string &sName="")
 
Sint32 load (const string &sFileCDC, const string &sName)
 
Sint32 load (const Sint32 idCDC, const string &sName)
 
Sint32 remove (const Sint32 idCDC, const string &sName)