All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Takashi Iwai <tiwai@suse.de>, Raymond Yau <superquad.vortex2@gmail.com>
Cc: ALSA Development Mailing List <alsa-devel@alsa-project.org>,
	General PulseAudio Discussion
	<pulseaudio-discuss@lists.freedesktop.org>
Subject: Re: [alsa-devel] [PATCH] alsa: Disable timer-scheduling for PCMs with the BATCH flag
Date: Tue, 03 Dec 2013 10:02:44 +0100	[thread overview]
Message-ID: <529D9E34.9050803@ladisch.de> (raw)
In-Reply-To: <s5h8uw25olr.wl%tiwai@suse.de>

Takashi Iwai wrote:
> Raymond Yau wrote:
>> usb-audio seem update when each URB send/receive (in 1ms intervals)

The default is to use larger intervals.

> The usb-audio driver behaved in a BATCH way in the very early version,
> but it was improved.

The delay reporting is more precise, but the DMA position still jumps
for each URB.

> So we can get rid of the flag from this driver now.

How well does timer-scheduling work with large URBs?

>> ymfpci driver also update hwptr in 5ms interval but no SNDRV_PCM_INFO_PATCH
>> and no constraint in period time must be interval of 5 ms

The period length (in frames) is not constant for most sample rates.

However, if the noresample flag is set (which should be the case with
PA), the period length should be constant, and such a period constraint
might make sense.  I'll have to test it ...


Regards,
Clemens

  reply	other threads:[~2013-12-03  9:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1385831244-30750-1-git-send-email-lars@metafoo.de>
     [not found] ` <CAN8cciYz=ZFJNW_FNqKTceCV4S=pz3CwkbwKcTeZb4AM=7bWzw@mail.gmail.com>
     [not found]   ` <529C5980.60408@metafoo.de>
2013-12-03  0:47     ` [PATCH] alsa: Disable timer-scheduling for PCMs with the BATCH flag Raymond Yau
2013-12-03  8:24       ` [alsa-devel] " Takashi Iwai
2013-12-03  9:02         ` Clemens Ladisch [this message]
2013-12-03  9:40           ` Takashi Iwai
2013-12-03 12:42             ` Clemens Ladisch
     [not found] ` <1386327965.2937.0.camel@tkkaskin-mobl2.ger.corp.intel.com>
2013-12-09  5:23   ` [pulseaudio-discuss] " Raymond Yau
2013-12-14  6:16     ` Tanu Kaskinen

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=529D9E34.9050803@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=pulseaudio-discuss@lists.freedesktop.org \
    --cc=superquad.vortex2@gmail.com \
    --cc=tiwai@suse.de \
    /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.