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
#include <SDL2/SDL.h> | |
#include <cmath> | |
// An audio driver. This audio driver will define a callback that will | |
// generate a waveform which is passed to SDL. SDL passes this waveform to | |
// the OS, where it is output to a physical device. | |
struct audio_driver | |
{ |
NewerOlder