|
Home > Archive > Unix Programming > April 2006 > /dev/dsp linux
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| edware 2006-04-28, 7:16 pm |
| Can someone point me to some documentation on how to
use the /dev/dsp device under linux?
I understand that files sent to this device is digial
and will be converted to analog in the soundcard.
And am I correct that music encoded with MP3, OGG, and
similar, are decoded to the same "format" which can
be sent to the soundcard?
I wonder if I in a C program can write a music tune,
in an array or something, containing frequencies that
will be converted to analog in the soundcard.
| |
|
|
| Jan Knutar 2006-04-29, 1:26 am |
| edware wrote:
> Can someone point me to some documentation on how to
> use the /dev/dsp device under linux?
http://www.4front-tech.com/pguide/audio.html
As a bonus, it may work on non-Linux systems too, since
they sometimes provide OSS emulation.
|
|
|
|
|