StopMusic
From OxeyeWiki
(Difference between revisions)
Thewreck (Talk | contribs)
(Created page with '{{AudioMethod | audio.stopMusic(soundFilename) | Stops a music based on the filename started with audio.playMusic. | {{MethodParam|soundFilename|A string|The name of the audi...')
(Created page with '{{AudioMethod | audio.stopMusic(soundFilename) | Stops a music based on the filename started with audio.playMusic. | {{MethodParam|soundFilename|A string|The name of the audi...')
Latest revision as of 13:39, 18 January 2010
|
audio.stopMusic(soundFilename) | ||
|
Stops a music based on the filename started with audio.playMusic. | ||
| Parameter | Expected Type | Description |
| soundFilename | A string | The name of the audio file, relative to the source folder. The name is case sensitive on Mac OS X. |
| Returns | ||
|
Returns nothing. | ||
| Daisymoon Audio Lib |
|---|
Example
audio.playMusic("level1.wav")
audio.stopMusic("level1.wav")