I want to do some sound synthesis on Mac OS X (and ideally other Unix-like OS) using ANSI C.
This is for learning purposes rather than "I need a solution, any solution, quick!"
Say I have an 8-bit buffer in my C program that I update 22050 times a second. How can I get my speakers to output that as a waveform?