This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Sound support in Cygwin?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: stephan0h at telering dot at
- Cc: cygwin at cygwin dot com
- Date: Fri, 10 Oct 2003 13:06:33 -0400 (EDT)
- Subject: Re: Sound support in Cygwin?
- References: <1065796345.3f86c2f9d5657@webmail.telering.at>
- Reply-to: cygwin at cygwin dot com
On Fri, 10 Oct 2003 stephan0h@telering.at wrote:
> Hi,
>
> I want to port a program to cygwin that writes to /dev/dsp. So far I
> have not found any soundsupport in cygwin. Is there any such thing?
>
> br,
> stephan
/dev/dsp is supposed to be working, but the format of the data is
completely different from what you'd find on Unix. The Windows DSP
accepts Wave files (.wav) as the raw data. You can try "cat
/cygdrive/c/WINNT/Media/tada.wav > /dev/dsp" to see if it works on your
machine.
If your Unix program generates the data it writes to /dev/dsp, substantial
parts of it may need to be rewritten.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/