Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Johan Bilien <jobi@via.ecp.fr>, alsa-devel@lists.sourceforge.net
Subject: Re: start_threshold having no effect
Date: Tue, 21 Oct 2003 14:26:24 +0200	[thread overview]
Message-ID: <s5hoewadbf3.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.53.0310211326180.25721@pnote.perex-int.cz>

At Tue, 21 Oct 2003 13:32:10 +0200 (CEST),
Jaroslav wrote:
> 
> > very short while a write will block for more than one second. Are those
> > ALSA related problems, or hardware ones ?
> 
> You said that you're using an USB device. It might be a problem with our
> USB driver. Also, USB devices are working with 1ms periods at the physical
> level, so transferring 32 frames does not make probably sense anyway.

this should be ok, since the sample rate is 8k Hz (although
RT-scheduling would be needed for 4ms periods.)

but 1ms period alignment is important:  if you want a RT process with
the USB audio device, choose the sample rate with multiple of 1000.
for example, avoid 44.1kHz, but use 48k instead.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54

  reply	other threads:[~2003-10-21 12:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20 17:30 start_threshold having no effect Johan Bilien
2003-10-20 22:23 ` Paul Davis
2003-10-21  9:50   ` Johan Bilien
2003-10-21 11:32     ` Jaroslav Kysela
2003-10-21 12:26       ` Takashi Iwai [this message]
2003-10-21 12:28       ` Johan Bilien
2003-10-21 12:39     ` Paul Davis

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=s5hoewadbf3.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=jobi@via.ecp.fr \
    --cc=perex@suse.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox