View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003159 | FSSCP | sound | public | 2015-05-17 13:58 | 2020-04-13 03:32 |
Reporter | Axem | Assigned To | m_m | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.7.3 | ||||
Fixed in Version | 19.0.0 | ||||
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?). |
|
This was fixed in Github: https://github.com/scp-fs2open/fs2open.github.com/pull/2148 |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-17 13:58 | Axem | New Issue | |
2015-05-17 13:58 | Axem | File Added: psff_bug.rar | |
2015-05-17 21:45 | m_m | Note Added: 0016708 | |
2015-05-17 21:45 | m_m | Assigned To | => m_m |
2015-05-17 21:45 | m_m | Status | new => assigned |
2020-04-13 03:21 | Goober5000 | Status | assigned => resolved |
2020-04-13 03:21 | Goober5000 | Resolution | open => fixed |
2020-04-13 03:21 | Goober5000 | Note Added: 0016965 | |
2020-04-13 03:32 | Goober5000 | Fixed in Version | => 19.0.0 |