Thread: SoundUtils
View Single Post
Old 08-31-2009, 10:52 PM   #28
Captain Griffen
Dread Lord of the Cookies
 
Captain Griffen's Avatar


Content Director
 
Join Date: Sep 2003
Posts: 5,375

Submissions (2)

Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)

Approved Map: Warlords[Quicksilver #2] - 1st Place

Default

Quote:
Originally Posted by Rising_Dusk
Hrm, that's probably true. What hash would you recommend?

H2I - H2I / 8191 * 8191 (+1 to avoid 0 and maybe 8190?), then loop to see if it's already being used.

Quote:
Huh, why? You can just RecycleSoundWhenDone() a sound that is only played locally and it will recycle it happily properly whenever.

So when does it recycle? If it's dependant upon when the sound finishes, and it's only played in local block, then you'll have a problem.
__________________
Quote:
Originally Posted by Earth-Fury
Griffen is correct, you are not.
Quote:
[13:32] <Akolyt0r> hmm.. stil i want to have some unused women
Captain Griffen is offline   Reply With Quote