[alsa-devel] [PATCH] alsa: Disable timer-scheduling for PCMs with the BATCH flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Takashi Iwai wrote:
> Raymond Yau wrote:
>> usb-audio seem update when each URB send/receive (in 1ms intervals)

The default is to use larger intervals.

> The usb-audio driver behaved in a BATCH way in the very early version,
> but it was improved.

The delay reporting is more precise, but the DMA position still jumps
for each URB.

> So we can get rid of the flag from this driver now.

How well does timer-scheduling work with large URBs?

>> ymfpci driver also update hwptr in 5ms interval but no SNDRV_PCM_INFO_PATCH
>> and no constraint in period time must be interval of 5 ms

The period length (in frames) is not constant for most sample rates.

However, if the noresample flag is set (which should be the case with
PA), the period length should be constant, and such a period constraint
might make sense.  I'll have to test it ...


Regards,
Clemens


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux