| Viewing Single Post From: Sound | |
|---|---|
| Alan | Mar 21 2007, 08:50 AM |
|
Administrator
![]() ![]() ![]() ![]() ![]()
|
Sound(std::string _Name , std::string _FileName, int _Channel, int _NumberOfTimesToLoop, int _Volume) Public function of the Sound Class Description: Constructor of the sound class Notes: Call create sound instead of creating a new instance. Create sound will do this for you and insert the sound in to the sound list Arguments: Required: std::string _Name name of the sound used for the find sound funtion std::string _FileName file name of the audio file to load Optional: int _Channel the channel to play the sound on defaults to 0 int _NumberOfTimesToLoop number of times to play the sound defaults to 0 (loops for ever) int _Volume sets the volume of the channel defaults to MIX_MAX_VOLUME Return Value: none |
![]() |
|
| Sound · Documentation | |




![]](http://209.85.48.16/static/1/pip_r.png)

