From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: trident (Hoontech 4d Wave NX) dropouts with small buffersize. Date: Fri, 08 Oct 2004 18:39:50 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20041005201351.GA25577@gmx.de> <20041008071505.GA3394@gmx.de> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20041008071505.GA3394@gmx.de> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Oliver Freyd Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 8 Oct 2004 09:15:06 +0200, Oliver Freyd wrote: > > Hello Takashi, > > thanks for your reply! > > On Thu, Oct 07, 2004 at 03:04:34PM +0200, Takashi Iwai wrote: > > > No idea yet, but could you check whether this happens with ALSA native > > apps? For example, you can run aplay with --buffer-size and > > --period-size options. Pass above values to these options and see > > whether the playback works. > > > > Yes, I've tried that now, if play some sound with aplay, without > --buffer-size, it works normal. If I use --period-size 512 and > buffer-size 1024, I get that broken sound. Also with period-size 1024 and > buffer-size 2048, I think. Only if I use a buffer-size > 2* period-size > if works ok. Hmm, how about the bigger period & buffer sizes? Try both periods=2 and other cases. The trident driver handles differently when period_size = buffer_size/2. If period_size != buffer_size/2, it allocates an extra voice for the interrupt source. So, if the bug occurs only with periods = 2, it narrows the buggy part. Takashi ------------------------------------------------------- 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