Writing to /dev/dsp
HÃ¥vard Sperle Engebretsen <[email protected]> Sun, 30 Oct 2005 13:52:36 +0100
| Newsgroups | gmane.comp.audio.mad.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! I am trying to decode a mp3 file using libmad's minimad in cygwin. Does anyone know if it is possible to write the decoded file to dev/dsp to get a real-time decoding? e.g.: ./minimad <test.mp3> /dev/dsp I have tried the command above, but all I get from my speakers is static. Do I have to set the sample size (16 bits), the number of channels (2) etc.? If so, how can I do this? Your answers will be appreciated, Haavard --