From: Timur Tabi <timur@freescale.com>
To: Timur Tabi <timur@freescale.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Confused about 'default' device
Date: Tue, 23 Oct 2007 15:45:10 -0500 [thread overview]
Message-ID: <471E5D56.6010306@freescale.com> (raw)
In-Reply-To: <471E4E2A.9090105@freescale.com>
Timur Tabi wrote:
> I'm having a hard time understand when ALSA does sample rate and format
> conversion, and when it doesn't.
Some more info:
I'm trying to play a movie with 441000 Hz audio.
If I specify "-ao alsa", mplayer calls snd_pcm_hw_params_set_rate_near() with a
value of 44100. The call fails and returns an error code.
If I specify "-ao alsa:device=hw=0.0", snd_pcm_hw_params_set_rate_near() does
not fail, even though it's being passed the same parameters.
So what is it about the default device that makes
snd_pcm_hw_params_set_rate_near() fail?
next prev parent reply other threads:[~2007-10-23 20:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-23 19:40 Confused about 'default' device Timur Tabi
2007-10-23 20:45 ` Timur Tabi [this message]
2007-10-24 8:54 ` Takashi Iwai
2007-10-24 11:37 ` Clemens Ladisch
2007-10-24 12:35 ` Rene Herman
2007-10-24 12:41 ` Clemens Ladisch
2007-10-24 12:42 ` Rene Herman
2007-10-24 16:36 ` Timur Tabi
2007-10-25 7:02 ` Clemens Ladisch
2007-10-25 14:16 ` Timur Tabi
2007-10-25 15:02 ` Clemens Ladisch
2007-10-25 15:03 ` Timur Tabi
2007-10-26 6:45 ` Clemens Ladisch
2007-10-26 14:00 ` Timur Tabi
2007-10-26 14:43 ` 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=471E5D56.6010306@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
/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.