This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]