OneLoneCoder / olcSoundWaveEngine

A single file, easy to use, audio playback and synthesis framework
94 stars 19 forks source link

ALSA backend #6

Closed viacheslavka closed 2 years ago

viacheslavka commented 2 years ago

This series of commits adds an improved version of the old ALSA backend and a couple of small fixes to make the project buildable on other platforms (fixes #4), mainly Linux.

I've also added a RingBuffer abstraction here, perhaps it could be moved out of the ALSA module and used to implement other backends. It's not thread-safe right now, but that should be easily fixable.