delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/21/22:09:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Mon, 22 Nov 2004 12:09:14 +0900
From: Shuhei Habu <hub AT arc-inc DOT co DOT jp>
To: cygwin AT cygwin DOT com
Subject: audio recording
Message-Id: <20041122120842.6B5B.HUB@arc-inc.co.jp>
MIME-Version: 1.0
X-IsSubscribed: yes

hi,

Which version of cygwin supports audio recording by reading /dev/dsp?
I found some information on this matter
but it is just a patch for cygwin.

>    if ( ( fd = open( "/dev/dsp", O_RDWR ) ) == -1 )
>    {
>	perror( "open()" );
>	exit( 1 );
>    }

On 1.5.12-1,
the code above fails returning -1 with:
open(): Permission denied

>    if ( ( fd = open( "/dev/dsp", O_RDONLY ) ) == -1 )

Even ReadOnly fails returning -1.

If you have a solution for this problem,
tell me a little more.

With regards,

--
Shuhei Habu






--
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