Quantcast WoWInterface - View Single Post - PlaySound()
Thread: PlaySound()
View Single Post
07-17-17, 03:14 PM   #7
A Firelord
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 463
Actually, the way WoW's C implementation works, functions dealing with any game files have always used IDs. The files themselves are available directly through ID, the path was simply part of user code. It took them a few years, but they're finally getting rid of the overhead needed to convert strings into the internal ID, just like they did with textures. Also, PlaySound never accepted file paths afaik, and I'm pretty sure it was never able to play every sound due to a limited internal list of sound names.
  Reply With Quote