I want to write a program that sends a sine wave to a soundcard output.
I was hoping to avoid installing SDL or something like that - I'd just like to access /dev/dsp directly and maybe use ioctl(2) calls to query the soundcard for the bitrate etc.
I found some documentation here and read sound(4), and the header file soundcard.h is missing.
Does anybody know if I have to install a particular library? I could be searching wrong but it seems quite lightly documented.
I was hoping to avoid installing SDL or something like that - I'd just like to access /dev/dsp directly and maybe use ioctl(2) calls to query the soundcard for the bitrate etc.
I found some documentation here and read sound(4), and the header file soundcard.h is missing.
Does anybody know if I have to install a particular library? I could be searching wrong but it seems quite lightly documented.