All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: Possible bug in alsa-lib. snd_pcm_hw_params_get_periods_max() returning 512 instead of 2.
Date: Fri, 11 Jun 2004 15:26:12 +0100	[thread overview]
Message-ID: <40C9C104.4010909@superbug.demon.co.uk> (raw)
In-Reply-To: <Pine.HPX.4.33n.0406101844520.3148-100000@studcom.urz.uni-halle.de>

Clemens Ladisch wrote:
> James Courtier-Dutton wrote:
> 
>>If the application opens the device with "plug:front".
>>That will print the message: -
>>Periods range from 0 to 512
>>
>>I thought that this should have printed: -
>>Periods range from 2 to 2
> 
> 
> Try without "plug:".
> 
> 
> HTH
> Clemens
> 
> 

Without the "plug:" I get
Periods range from 2 to 2

So without the "plug:", the function calls returns correctly.
I cannot think of any circumstances where doing sample rate conversion 
(using the "plug:" plugin) would change the amount of periods.
Is this a bug in the "plug:" plugin ?

James




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504

  reply	other threads:[~2004-06-11 14:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09 11:52 Possible bug in alsa-lib. snd_pcm_hw_params_get_periods_max() returning 512 instead of 2 James Courtier-Dutton
2004-06-10 16:45 ` Clemens Ladisch
2004-06-11 14:26   ` James Courtier-Dutton [this message]
2004-06-11 14:54     ` Clemens Ladisch
2004-06-11 15:07       ` James Courtier-Dutton

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=40C9C104.4010909@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.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.