Message ID | 20191017155424.885-1-o-takashi@sakamocchi.jp (mailing list archive) |
---|---|
Headers | show |
Series | ALSA: firewire: configure interval of hw IRQ via ALSA PCM interface | expand |
On Thu, 17 Oct 2019 17:54:12 +0200, Takashi Sakamoto wrote: > > Hi, > > ALSA IEC 61883-1/6 packet streaming engine controls OHCI 1394 controller > to generate hardware IRQ for fixed number (=16) of isoc packets. > Additionally, the size of packet buffer is fixed for triple of interval > of hardware IRQ (=48). > > This commit allows ALSA PCM applications to configure these parameters > by ALSA PCM interface. As a result, the size of PCM period is available > in the range between 125 usec and 64 msec (or 32 msec). The hardware > IRQ is scheduled for isoc packet which includes event across PCM period > boundary. > > Takashi Sakamoto (12): > ALSA: firewire-lib: use variable size of queue for isoc packets > instead of fixed size > ALSA: bebob: share PCM buffer size for both direction > ALSA: fireworks: share PCM buffer size for both direction > ALSA: oxfw: share PCM buffer size for both direction > ALSA: dice: share PCM buffer size for both direction > ALSA: firewire-digi00x: share PCM buffer size for both direction > ALSA: firewire-tascam: share PCM buffer size for both direction > ALSA: firewire-motu: share PCM buffer size for both direction > ALSA: fireface: share PCM buffer size for both direction > ALSA: firewire-lib: schedule hardware IRQ according to the size of PCM > period > ALSA: firewire-lib: tune the maximum available size of PCM period > ALSA: firewire-lib: tune the minimum available size of PCM period Applied all 12 patches now. Thanks. Takashi