CRM64Pro GDK v0.11.0
A free cross-platform game development kit built on top of SDL 3.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CRM64Pro::Sound

Sound Object class. More...

Inherits CRM64Pro::ObjectBase.

Public Member Functions

Sint32 info (Sint32 iMode=0)
 Request Sound object information.
 
Sint32 getName (string &sName)
 Get the name.
 
Uint32 getID ()
 Get the ID.
 
Sint32 info (string *sType, AudioInfo *AI)
 Get Sound object information.
 
Sint32 play (Sint32 iChannel=-1, Sint32 iLoop=0)
 Play a sound.
 
Sint32 fadeIn (Sint32 iTime=1000, Sint32 iChannel=-1, Sint32 iLoop=0)
 Play a sound with a fade in effect.
 
Sint32 saveToFile (const string &sFile)
 Export the Sound to an external file.
 
Sint32 save (const string &sFileCDC)
 Save the Sound in to a CDC file.
 
Sint32 save (Sint32 idCDC)
 Save the Sound in to a CDC file.
 

Detailed Description

Sound Object class.