[ecasound] Ubuntu 10.10 can no longer use /dev/dsp

From: <dougf@email-addr-hidden>
Date: Mon Jan 17 2011 - 07:19:46 EET


 I wrote a little program in Harbour using libecasoundc to record medical
reports for subsequent transcription.  It worked fine on Ubuntu 10.04 but
is not working on Ubuntu 10.10.  This appears to be because OSS has been
stripped out of Ubuntu 10.10 so you can no longer use /dev/dsp to specify
the input (in my case microphone).  I am a bit confused about how to
specify the input some other way ( presumably using ALSA or Jack? ) and
was hoping that someone could point me in the right direction.

 My current code is:

   oSound:AddAudioInput( "/dev/dsp" )

 which would be handled by the C interface I wrote and effectively become

 eci_command( "ai-add /dev/dsp" );

 I would greatly appreciate any advice on this.

 Thank you

Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.

Ecasound-list mailing list
Received on Mon Jan 17 08:15:01 2011

This archive was generated by hypermail 2.1.8 : Mon Jan 17 2011 - 08:15:02 EET