All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>,
	ALSA user list <alsa-user@lists.sourceforge.net>
Subject: Re: [RFC] Zero-conf ALSA
Date: Thu, 15 Dec 2005 13:06:02 -0500	[thread overview]
Message-ID: <1134669963.12086.124.camel@mindpipe> (raw)
In-Reply-To: <s5hfyouvdhx.wl%tiwai@suse.de>

On Thu, 2005-12-15 at 11:52 +0100, Takashi Iwai wrote:
> At Wed, 14 Dec 2005 17:27:01 -0500,
> Lee Revell wrote:
> > 
> > On Thu, 2005-11-24 at 11:28 +0100, Takashi Iwai wrote:
> > > > Can #2 be solved by having dmix prefer power of two period/buffer
> > > sizes
> > > > for the slave hw PCM by default?  AFAICT this should work unless an
> > > ALSA
> > > > app has opened the device first and set an incompatible buffer size.
> > > 
> > > It's not so easy, unfortunately.  We'll need to fix to allow dmix the
> > > arbitrary period/buffer sizes.  As long as the constraints of slave
> > > PCM perido size exists, power-of-2 cannot be applied. 
> > 
> > Is the power of 2 period size restriction imposed by OSS, or dmix?
> 
> It's OSS.

Then why can't the OSS emulation open the slave PCM with a power of 2
period size by default?  AFAICT this would only fail if someone else has
already opened the slave PCM with a non power of 2 period/buffer.

Lee



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

  reply	other threads:[~2005-12-15 18:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-24  4:03 [RFC] Zero-conf ALSA Lee Revell
2005-11-24 10:28 ` [Alsa-devel] " Takashi Iwai
2005-12-14 22:27   ` Lee Revell
2005-12-15 10:52     ` Takashi Iwai
2005-12-15 18:06       ` Lee Revell [this message]
2005-12-16 10:14         ` Takashi Iwai
2005-12-14 22:28 ` Lee Revell
2005-12-15 13:34 ` Peter Kirk

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=1134669963.12086.124.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=alsa-user@lists.sourceforge.net \
    --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.