Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move resampler out of SDL struct into AudioBuffer. This means that the AudioBuffer size is the same number of samples as the SDL audio frequency, rather than 2MHz. * Store volume_shift in Wave struct, rather than recalculating in channelx_sample. * Combine so1* so2* into so*[2] in various places. * Change channelx_sample and channel3_sample into macros.
- Loading branch information
Showing
2 changed files
with
97 additions
and
126 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
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