All of lore.kernel.org
 help / color / mirror / Atom feed
* Confused about 'default' device
@ 2007-10-23 19:40 Timur Tabi
  2007-10-23 20:45 ` Timur Tabi
  2007-10-24  8:54 ` Takashi Iwai
  0 siblings, 2 replies; 15+ messages in thread
From: Timur Tabi @ 2007-10-23 19:40 UTC (permalink / raw)
  To: alsa-devel

I'm having a hard time understand when ALSA does sample rate and format 
conversion, and when it doesn't.

When I issue the following command:

	mplayer -ao alsa filename.mov -v

I get this output:

Building audio filter chain for 48000Hz/2ch/s24le -> 0Hz/0ch/s8...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s24le
[dummy] Was reinitialized: 48000Hz/2ch/s24le
alsa-init: requested format: 48000 Hz, 2 channels, 11
alsa-init: using ALSA 1.0.8
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opend in blocking mode
alsa-init: format s24le are not supported by hardware, trying default
alsa-lib: pcm_plug.c:729:(snd_pcm_plug_hw_refine_schange) Unable to find
an usable access for 'default'
alsa-init: unable to set format: Invalid argument

Sure enough, my device can't handle s24le.  It can only handle s16be.

I was under the impression that ALSA can do format and sample rate conversion if 
necessary, but I guess that's not always the case.  I know ALSA has a bunch of 
plug-ins for that, but I guess they're not used by default.

What do I need to do to tell ALSA to convert s24le to s16be?

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-10-26 14:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23 19:40 Confused about 'default' device Timur Tabi
2007-10-23 20:45 ` Timur Tabi
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

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.