gamebosu
gamebosu copied to clipboard
Fix Gameboy sound playback
At a first glance, the framework doesn't seem to expose a way to buffer a SampleChannel with bytes directly. (So might require a PR against framework) or may have to look into TrackBass + circular MemoryStream.
Definitely requires investigating BASS to do playback of streamed data. The emulator core exposes the data in PCM format so it should be pretty straightforward.
Got audio to "work", but it is somewhat distorted, noisy. Needs to get a performant ring buffer implementation to buffer audio data now.
https://github.com/ppy/osu-framework/pull/4291 Not really sure will this change got helps 🤔 ?
With Bass Mix being merged in framework, I might give this a shot again once I get a bit of free time.