All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Freyd <Oliver.Freyd@gmx.de>
To: alsa-devel@lists.sourceforge.net
Subject: trident (Hoontech 4d Wave NX) dropouts with small buffersize.
Date: Tue, 5 Oct 2004 22:13:52 +0200	[thread overview]
Message-ID: <20041005201351.GA25577@gmx.de> (raw)

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.

I'm running debian testing, 
alsa-source-1.0.5a-3
kernel 2.4.26
on a dual celeron 300.

Well, maybe this report can be helpful in further development 
of ALSA...

best regards,

    Oliver Freyd



-------------------------------------------------------
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

             reply	other threads:[~2004-10-05 20:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-05 20:13 Oliver Freyd [this message]
2004-10-07 13:04 ` trident (Hoontech 4d Wave NX) dropouts with small buffersize Takashi Iwai
2004-10-08  7:15   ` Oliver Freyd
2004-10-08 16:39     ` Takashi Iwai
2004-10-09 18:41       ` Oliver Freyd
2004-10-11 15:27         ` Takashi Iwai
2004-10-13 20:02           ` Oliver Freyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041005201351.GA25577@gmx.de \
    --to=oliver.freyd@gmx.de \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.