Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked mixing and buffer management. Still not quite there yet.
Now we use an SDL_AudioStream to manage resampling on the fly, so we don't get artifacts between buffers in the queue. Querying buffer state is more correct now too. This broke several things (we need to resample single AL_BUFFER objects too but don't, sample count math is wrong in the mixer, race conditions, etc), so we have some work to do still.
- Loading branch information
Showing
1 changed file
with
152 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters