On Mon, 2006-07-10 at 21:37 +0200, Jaroslav Kysela wrote:
> On Mon, 10 Jul 2006, Lee Revell wrote:
> > > No it does not. However
> > > sox pluck/p6.wav -t alsa /dev/snd/pcmC0D0p
> > > DOES work. (or with the -w -s option as well)
> > > So it seems that sox does directly access the sound files.
> > 
> > Why does sox abuse the ALSA API this way?  Why can't it use the alsa-lib
> > interface like everyone else?
> 
> Because it uses 'FILE */fread()/fwrite()' internally.

But it should just use snd_pcm_read/write for ALSA, correct?  Is what
SOX does considered a correct use of 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