This is the mail archive of the
cygwin
mailing list for the Cygwin project.
audio recording
- From: Shuhei Habu <hub at arc-inc dot co dot jp>
- To: cygwin at cygwin dot com
- Date: Mon, 22 Nov 2004 12:09:14 +0900
- Subject: audio recording
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/