All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Timur Tabi <timur@freescale.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Unable to find an usable access for 'default'
Date: Fri, 06 Jul 2007 12:50:27 +0200	[thread overview]
Message-ID: <1183719027.2620.1198799059@webmail.messagingengine.com> (raw)
In-Reply-To: <468CE7AD.8020305@freescale.com>

Timur Tabi wrote:
> Clemens Ladisch wrote:
> > It means that the plug plugin (that the ALSA lib uses to automatically
> > convert between sample formats) was not able to find any combination of
> > format/rate/channels/access that would work with your hardware.
> 
> ... When you say "access", what do you mean by that?

ALSA-lib's access type specifies whether to use mmap or not, and whether
the sample are interleaved or not.  (The SNDRV_PCM_INFO_*INTERLEAVED and
SNDRV_PCM_INFO_MMAP* flags specify the capabilities of the device.)

> > It is possible that some entries in the snd_pcm_hardware struct are set
> > in an inconsistent way.  Please show the code of the driver.
> 
> I'd like to show the code, but the project is unannounced, so I can't
> yet.  Can you give me a suggestion as to what I should be looking for to
> resolve this?

Look at the values in the snd_pcm_hardware structure and at the
constraints the driver adds manually, if there are any.


HTH
Clemens

  reply	other threads:[~2007-07-06 10:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-03 22:19 Unable to find an usable access for 'default' Timur Tabi
2007-07-04  6:34 ` Clemens Ladisch
2007-07-05 12:44   ` Timur Tabi
2007-07-06 10:50     ` Clemens Ladisch [this message]
2007-07-06 22:32       ` Timur Tabi
2007-07-09  6:51         ` Clemens Ladisch
2007-07-09 21:02           ` Timur Tabi
2007-07-10  6:29             ` Clemens Ladisch

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=1183719027.2620.1198799059@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 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.