From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giuliano Pochini Subject: Re: Click after draining Date: Fri, 8 Oct 2004 22:26:01 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20041008222601.6f435ebc.pochini@shiny.it> References: <20040921221318.4e0c7c7f.pochini@shiny.it> <20041007205801.6fb143ad.pochini@shiny.it> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Takashi Iwai Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On Fri, 08 Oct 2004 18:07:53 +0200 Takashi Iwai 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. No changes at all, sorry. I'll investigate further tomorrow. -- Giuliano. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl