WoW API: StopMusic

From AddOn Studio
Jump to navigation Jump to search

WoW API < StopMusic

Stops the currently played music file.

StopMusic();

Notes[edit]

This does not affect the built-in zone music, only music files that are played with PlayMusic.

Before Patch 2.2, this function would fade the currently playing music out. After Patch 2.2, it stops it immediately without a fade.