On Thu, 04.09.08 20:07, Lennart Poettering (lennart at poettering.net) wrote: > > On Thu, 04.09.08 14:56, Jyri Sarha (lepbtetfmvbz at spammotel.com) wrote: > > > Hi, > > I found couple of problems when upgrading to pulseaduio 0.9.11. The > > both are related to a case when tsched turned off on alsa-sink. First, > > problem appears when trying the select a specific number fragment with > > module-alsa-sink parameters, for instance this: > > > > load-module module-alsa-sink device=hw:0 rate=44100 fragment_size=882 fragments=2 tsched=0 > > > > The above produces three fragments of 588 bytes each. The actual bug > > appears to be in alsa-lib, but it can be by-passed without breaking > > things when alsa-lib gets fixed. To do that apply > > fix_incremented_number_of_fragments.patch. > > Patch looks good to me. But please, when you add a work-around for > some bug in libraries we use, document that with a small comment, so > that we know that we can remove this when their upstream fixed the > issue. > > Have you already contacted the ALSA people? A quick update: I have stumbled over this issue now too. I now fixed it, with the comment I requested and also notified the ALSA people. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4