|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003159||FSSCP||sound||public||2015-05-17 09:58||2015-05-17 17:45|
|Target Version||Fixed in Version|
|Summary||0003159: looping with play-sound-from-file isn't seamless|
|Description||It's near impossible to have a seamless looping music track in missions because there is a very small break in the audio when the game has to loop back to the start.|
See attached "music" (its just a tone) and mission for an example. The tone should be constant, but its not!
|Tags||No tags attached.|
The timer interval used for looping sounds is way to high. Currently the timer fires every 250 ms which causes the audible gap in the sound. Even lowering it to 20 doesn't solve that.
The audiostream code is pretty ugly and does a lot of things for no good reason (why use a timer instead of running things on the main thread? Why not just continue writing data into the buffer when we want the sound to loop?).
|2015-05-17 09:58||Axem||New Issue|
|2015-05-17 09:58||Axem||File Added: psff_bug.rar|
|2015-05-17 17:45||m_m||Note Added: 0016708|
|2015-05-17 17:45||m_m||Assigned To||=> m_m|
|2015-05-17 17:45||m_m||Status||new => assigned|