From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Click after draining Date: Tue, 09 Nov 2004 10:29:46 +0100 Message-ID: References: <20040921221318.4e0c7c7f.pochini@shiny.it> <20041007205801.6fb143ad.pochini@shiny.it> <20041016213113.1744f887.pochini@shiny.it> <20041101202949.358eda16.pochini@shiny.it> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20041101202949.358eda16.pochini@shiny.it> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Giuliano Pochini Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 1 Nov 2004 20:29:49 +0100, Giuliano Pochini wrote: > > The patch below is mostly the one you wrote, with these changes: it handles > the case when the period to be silences crosses the buffer boundary and it > fills with silence the last played period while draining. It's not the right > thing of course but it work for me. Actually, it should fill only the first > x frames of the period following the last one, but I need another variable. The first is the right fix, but how about the latter one (filling silence at the last position in snd_pcm_update_hw_ptr_interrupt()) ? Does it fix something? Takashi ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click