delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/10/13:06:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 10 Oct 2003 13:06:33 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: stephan0h AT telering DOT at
cc: cygwin AT cygwin DOT com
Subject: Re: Sound support in Cygwin?
In-Reply-To: <1065796345.3f86c2f9d5657@webmail.telering.at>
Message-ID: <Pine.GSO.4.56.0310101303310.20462@slinky.cs.nyu.edu>
References: <1065796345 DOT 3f86c2f9d5657 AT webmail DOT telering DOT at>
Importance: Normal
MIME-Version: 1.0

On Fri, 10 Oct 2003 stephan0h AT telering DOT 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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019