StopMusic

From OxeyeWiki

Jump to: navigation, search

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")
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox