From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: emu10k1 bug and patch (0.9.0rc7) Date: Fri, 14 Feb 2003 16:00:55 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3E4CD381.6C7B0D40@libero.it> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <3E4CD381.6C7B0D40@libero.it> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Abramo Bagnara Cc: tomasz motylewski , perex@suse.cz, "alsa-devel@lists.sourceforge.net" List-Id: alsa-devel@alsa-project.org At Fri, 14 Feb 2003 12:31:13 +0100, Abramo Bagnara wrote: > > tomasz motylewski wrote: > > > > On Fri, 14 Feb 2003, Takashi Iwai wrote: > > > > > and since boundary = buffer_size as default, the above condition will > > > be not satisfied (i.e. diff is equal with -(runtime->boundary/2) and > > > > Is not boundary much bigger than buffer size? At least I have seen it in cs4281 > > driver some time ago. Is there any ALSA recommendation what value should be > > used for boundary? > > runtime->boundary = runtime->buffer_size; > while (runtime->boundary * 2 <= LONG_MAX - runtime->buffer_size) > runtime->boundary *= 2; yep, right, we have the boundary size near to long_max/2. please ignore my last message regarding this. Takashi ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en