Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: cygwin AT cygwin DOT com Subject: audio recording Message-Id: <20041122120842.6B5B.HUB@arc-inc.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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/