Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Timur Tabi <timur@freescale.com>,
	ALSA devel <alsa-devel@alsa-project.org>
Subject: Re: How do I tell ALSA that my driver supports every possible sample rate?
Date: Mon, 23 Jul 2007 19:14:27 +0200	[thread overview]
Message-ID: <1185210867.7590.1201603759@webmail.messagingengine.com> (raw)
In-Reply-To: <46A4CF38.3050107@freescale.com>

Timur Tabi wrote:
> I'm building an ASOC driver, and I want to tell ALSA that my PCM and my I2S drivers 
> support every possible sample rate, because it's the codec that determines the real 
> limitations.  What SNDRV_PCM_RATE_xxx bit-pattern do I specify that will
> always match?

To indicate that the PCM device supports all sample rates between the
minimum and the maximum, set SNDRV_PCM_RATE_CONTINUOUS in addition to
the other supported bits.

However, in your case these bits should be set according to the
capabilities of the codec.


HTH
Clemens

  parent reply	other threads:[~2007-07-23 17:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-23 15:54 How do I tell ALSA that my driver supports every possible sample rate? Timur Tabi
2007-07-23 16:39 ` Liam Girdwood
2007-07-23 17:06   ` Timur Tabi
2007-07-23 17:29     ` Liam Girdwood
2007-07-23 17:14 ` Clemens Ladisch [this message]
2007-07-23 17:27   ` Timur Tabi
2007-07-24  7:14     ` Clemens Ladisch
2007-07-24 14:54       ` Timur Tabi
2007-07-24 15:07         ` Takashi Iwai
2007-07-24 19:30           ` Timur Tabi
2007-07-25 10:18             ` Takashi Iwai
2007-07-25 14:37               ` Timur Tabi
2007-07-25 15:08                 ` Takashi Iwai
2007-07-25 15:12                   ` Takashi Iwai
2007-07-25 15:24                     ` Liam Girdwood

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=1185210867.7590.1201603759@webmail.messagingengine.com \
    --to=cladisch@fastmail.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=timur@freescale.com \
    /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