WoWInterface (
-   Tutorials & Other Helpful Info. (
-   -   4.0.6 change to PlaySoundFile() & PlaySound() (

Seerah 02-12-11 12:40 PM

4.0.6 change to PlaySoundFile() & PlaySound()
Rejoice! You can now unlink your addon sounds and game sounds again.

PlaySoundFile() and PlaySound() have been updated to accept an optional second argument, allowing addon authors to designate which sound bus/channel to play the sound on. If the optional second argument is omitted, the functions behave as normal (current behavior).

PlaySound("sound" [, "channel"])
PlaySoundFile("sound" [, "channel"])

"channel" is a string with the following possible values. Using "Master" will ignore other sound levels.
  • "SFX"
  • "Music"
  • "Ambience"
  • "Master"

Ailae 02-12-11 12:52 PM

Whoho, this is great news!

All times are GMT -6. The time now is 09:17 AM.

vBulletin © 2017, Jelsoft Enterprises Ltd
©2016 MMOUI