About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Sound::PlayAndStop
Author Message
menajev Offline
Bronze Supporter

Post: #1
Sound::PlayAndStop
Currently sound can be either looped or played once and deleted.
This is problem when playing such sounds as shooting - if it's loaded every shoot fps is going down. And it's hard to use looping if sound::time() returns something like -.2.
04-26-2010 12:09 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Sound::PlayAndStop
wav is faster for processing than ogg
04-26-2010 12:42 PM
Find all posts by this user Quote this message in a reply
menajev Offline
Bronze Supporter

Post: #3
RE: Sound::PlayAndStop
Possible but using ogg fps goes down about 25% - I don't think wav will be much faster.
Is it hard to make sound stop/pause (but not delete) after one play?
04-26-2010 02:12 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Sound::PlayAndStop
wav is much faster
delete doesn't change anything
04-26-2010 02:14 PM
Find all posts by this user Quote this message in a reply
Post Reply