Re: [LAU] USB period size? (WAS: tracking down xruns)

From: david <gnome@email-addr-hidden>
Date: Tue Dec 22 2009 - 09:29:44 EET

Ng Oon-Ee wrote:
> On Tue, 2009-12-22 at 15:44 +1100, Patrick Shirkey wrote:
>> Are you running the usb device at 44100 or 48000? Ideally usb cards
>> should be run at 48000 with period sizes that divide perfectly into
>> 48000. i.e 100, 200, 400, etc...
>
> Could I know more about this, please? 48000 would be the 'generally'
> used (besides 96k) for USB sound cards I understand, but what's this
> about period sizes? I've always thought period sizes were of the series
> 8, 16, 32, 64, 128, 256...

I did some experimenting with period sizes on my USB card (Behringer
UCA-202 running at 48k) using jackdmp on my Debian Lenny non-RT ordinary
use laptop. It was a bit better about overruns, but not much better than
the 1024 (64msec latency) I usually run here on my non-RT kernel.

Let's try it on musicbox (also non RT, but running regular jack).
Command line reports that frames must be a power of 2: 64, 512, etc. I
tried a period of 100 (worked with jackdmp). I think it's jack 0.116 on
musicbox.

-- 
David
gnome@email-addr-hidden
authenticity, honesty, community
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Tue Dec 22 12:15:02 2009

This archive was generated by hypermail 2.1.8 : Tue Dec 22 2009 - 12:15:02 EET