[alsa-devel] Confused about 'default' device

Clemens Ladisch cladisch at fastmail.net
Wed Oct 24 13:37:18 CEST 2007

Takashi Iwai wrote:
> Timur Tabi wrote:
> > 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:
> > ...
> > alsa-init: using device default
> > alsa-init: format s24le are not supported by hardware
> > 
> > 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.
> It does.  mplayer seems to try first the hardware device without
> conversion and falls back to "default" PCM.

In this case, it uses only the "default" PCM device.  There seems to be
some problem with its definition.

Are there any definitions in ~/.asoundrc or /etc/asound.conf?  If not,
what driver is used, and does it have a file in /usr/share/alsa/cards/?


More information about the Alsa-devel mailing list