|
From: <pj...@pj...> - 2010-05-25 05:30:02
|
Chris Bagwell wrote: > Just add a "-t alsa" right before the alsa device name in your > command below. Since no file extension, SoX needs to be given > a hint at what your input is. Excellent: ~> sox -r 44100 -c 2 -e s -t alsa hw:4,0 -d works just fine... except that there's about 0.25 sec latency. If I don't specify the rate: ~> sox -c 2 -e s -t alsa hw:4,0 -d (or if I specify it correctly as 48000), then there's "only" about 0.14 sec latency. Is this due to sox ? If so, can I reduce it further ? Is there a way I can connect hw:4,0 directly to hw:0,0 to see how much latency there is in alsa and the kernel-modules ? (E.g. at the midi-level, I can do it with aconnect...) Regards, Peter Billam http://www.pjb.com.au pj...@pj... (03) 6278 9410 "Was der Meister nicht kann, vermöcht es der Knabe, hätt er ihm immer gehorcht?" Siegfried to Mime, from Act 1 Scene 2 |