On Mon, 2006-07-10 at 20:34 +0200, [EMAIL PROTECTED] wrote:
> In the meantime a record for my WinTV PCI-Card is shown at
> /proc/asound/cards but trying to access /dev/snd/pcmC1D1c with sox
> 
> sox -V -r 48000 -w -t alsa /dev/snd/pcmC1D1c -t cdr test.wav
> 
> gives this error:
> 
> ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown
> PCM /dev/snd/pcmC1D1c
> sox: Failed reading /dev/snd/pcmC1D1c: cannot open audio device
> 

That's not how ALSA works, you're not supposed to access /dev/snd/pcm*
devices directly.  The interface is via ALSA lib - the ALSA device name
would be something like default:x (where x is the number of the
soundcard) or plughw:1,1.

Please read the sox documentation for how to use it with ALSA.

Lee



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to