At Fri, 08 Oct 2004 17:34:45 +0200, I wrote: > > At Thu, 7 Oct 2004 20:58:01 +0200, > Giuliano Pochini wrote: > > > > On Tue, 21 Sep 2004 22:13:18 +0200 > > Giuliano Pochini wrote: > > > > > With both the powermac driver and my echoaudio driver, playback ends with a > > > "click". With properly choosen buffer/period/file sizes I can make the card > > > play almost a whole period of old data before the substream is actually > > > stopped. It seems that periods after the last one are not silenced, but I'm > > > not having luck at findind the cause. This is not a recent problem. > > > [...] > > > > I reply myself to add that I asked about this issue at one of the > > betatesters and he can hear the click also. It's not a mac-only problem... > > Any ideas ? > > ALSA seems not putting silence properly unless silence_size > 0. > How about the attached patch? > (it's an untested and quick fix, as usual :) And broken, as usual :) The corrected on is below. Takashi