DavidGriffith / frotz

Infocom-style interactive fiction player for Unix and DOS (moved to https://gitlab.com/DavidGriffith/frotz)
GNU General Public License v2.0
209 stars 64 forks source link

Partial audio fix #38

Closed fundamental closed 7 years ago

fundamental commented 7 years ago

Add Separate Buffers For Music/FX

These commits:

The threading logic for this code was rather poor prior to this commit. As such, I make no claims to the correctness of the threading code within this commit as the assumptions presented by the code previously installed in the audio engine are not clearly stated.

The code as presented fixes some of the issues involved in mixing, however effect + ogg music still seems to pose an issue and the reasons why are unclear. A rewrite of the architecture of the audio engine is recommended.