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: Thu, 07 Oct 2004 15:04:34 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20041005201351.GA25577@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: <20041005201351.GA25577@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 Tue, 5 Oct 2004 22:13:52 +0200, Oliver Freyd wrote: > > Hello, > > I use snd-trident with OSS emulation to access my soundcard. > Music plays nicely, xmms and the like, but after alsa-0.90 > or so the linux games began sounding distorted (like tuxracer, > frozen-bubbles, mirrormagic, all SDL-games that my step-son likes...). > Now I done some more tests to find out where it comes from: > > The games use /dev/dsp, and /proc/asound/card0/pcm0p/sub0/hw_params says: > access: RW_INTERLEAVED > format: S16_LE > subformat: STD > channels: 2 > rate: 22050 (22050/1) > period_size: 512 > buffer_size: 1024 > tick_time: 10000 > > well, you hear drop outs, or even bits of sound repeated, sounds weird > ( this doesn't happen with the standard OSS trident driver, BTW) > I guess the game people want the buffer size small for low latency... > Seems it is loosing some interrupts or so... > > With xmms, buffer_size is 16384, and all is well... > > Well, maybe anyone here on this list has an idea what has happened > in the alsa drivers after 0.90 to trigger this bug. 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. > I'm running debian testing, > alsa-source-1.0.5a-3 It's old :) 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