WoW:API PlayMusic: Difference between revisions

→‎Notes: .ogg can be played using this API. .mp2 and .wav files should be able to be played with the API as well.
(→‎Notes: .ogg can be played using this API. .mp2 and .wav files should be able to be played with the API as well.)
Line 17: Line 17:
*You cannot use this function to play custom MP3 files located outside an addon's directory. You cannot use this function to play custom MP3 files that were added to an addon's directory after WoW has been launched.
*You cannot use this function to play custom MP3 files located outside an addon's directory. You cannot use this function to play custom MP3 files that were added to an addon's directory after WoW has been launched.
*If any of the built-in music is playing when you call this function (e.g. Stormwind background music), it will fade out.
*If any of the built-in music is playing when you call this function (e.g. Stormwind background music), it will fade out.
*(Not verified): since World of Warcraft uses the FMOD sound engine, it is very likely that other file formats than mp3 are supported. For example OggVorbis (.ogg).
*(Verified): since World of Warcraft uses the FMOD sound engine, it is very likely that other file formats than mp3 are supported. For example OggVorbis (.ogg).
Anonymous user