alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Brent Weatherall <brentweatherall@gmail.com>
Cc: Liam Girdwood <liam.r.girdwood@linux.intel.com>,
	alsa-devel@alsa-project.org, "Guiriec,
	Sebastien" <s-guiriec@ti.com>
Subject: Re: PandaBoard ES Audio Problems
Date: Fri, 1 Feb 2013 13:53:15 +0100	[thread overview]
Message-ID: <510BBABB.30402@ti.com> (raw)
In-Reply-To: <CAAo96ZCNBTGBToLbKnvQ1k_eewJcg94KZBRKt7TKkE3T8xqsQw@mail.gmail.com>

Hi,

On 01/31/2013 05:51 PM, Brent Weatherall wrote:

> Here is a log of the high level test program:
> 
> snd_pcm_hw_params_set_rate_near succeeded.
> Rate set to 44100.
> snd_pcm_hw_params_set_channels succeeded.
> cannot set buffer time (Invalid argument)
> cannot set buffer period time (Invalid argument)
> Before commit, state is: SND_PCM_STATE_OPEN
> cannot set parameters (Invalid argument)
> After failure, state is: SND_PCM_STATE_OPEN
> Trying to re-configure rate param.
> Before calling 'snd_pcm_drop', state is: SND_PCM_STATE_OPEN
> cannot drop (Input/output error)
> After calling 'snd_pcm_drop', state is: SND_PCM_STATE_OPEN
> Trying rate 8000.
> snd_pcm_hw_params_set_rate_near succeeded.
> Rate set to 44100.
> snd_pcm_hw_params_set_buffer_time_near succeeded.
> Buffer size actually set to 22050.
> cannot set buffer period time (Invalid argument)
> cannot set parameters (Invalid argument)
> cannot prepare audio interface for use (Input/output error)
> Rate 44100 supported: FAIL

Which PCM you are opening? My guess is pcm0 which supports 44.1 and 48. You
seams to be failing with the period size here.
I know we have constraint for the period size, but can not recall what it is
and why it has not been applied to the stream.
Sebastien: can you comment?

-- 
Péter
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  parent reply	other threads:[~2013-02-01 12:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-31 16:51 PandaBoard ES Audio Problems Brent Weatherall
2013-01-31 17:28 ` Clemens Ladisch
2013-01-31 18:23   ` Liam Girdwood
2013-01-31 19:24     ` Brent Weatherall
2013-01-31 19:44       ` Clemens Ladisch
2013-01-31 19:50         ` Brent Weatherall
2013-01-31 20:00         ` Liam Girdwood
2013-01-31 22:13           ` Brent Weatherall
2013-02-01  8:29             ` Liam Girdwood
2013-02-01 10:51               ` Peter Ujfalusi
2013-02-01 10:56                 ` Michael Trimarchi
2013-01-31 19:50       ` Liam Girdwood
2013-02-01  6:57       ` Takashi Iwai
2013-02-01 12:53 ` Peter Ujfalusi [this message]
2013-02-06 15:10 ` [PATCH 0/2] ASoC: OMAP4+ABE (ubuntu): Might fix OpenMax on PandaBoard Peter Ujfalusi
2013-02-06 15:10   ` [PATCH 1/2] ASoC: omap-abe-mmap: Make the hwrule function to be more generic Peter Ujfalusi
2013-02-06 15:10   ` [PATCH 2/2] ASoC: omap-abe-mmap: Place constraint to buffer size as well Peter Ujfalusi
2013-02-06 15:37   ` [PATCH 0/2] ASoC: OMAP4+ABE (ubuntu): Might fix OpenMax on PandaBoard Brent Weatherall

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=510BBABB.30402@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=brentweatherall@gmail.com \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=s-guiriec@ti.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;
as well as URLs for NNTP newsgroup(s).