[alsa-devel] Confused about 'default' device

Rene Herman rene.herman at keyaccess.nl
Wed Oct 24 14:35:47 CEST 2007


On 10/24/2007 01:37 PM, Clemens Ladisch wrote:

> 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/?

Just in case you guys missed it -- he posted:

===
alsa-init: using ALSA 1.0.8
===

Isn't 1.0.8 from before ALSA did any mixing by default?

Rene.


More information about the Alsa-devel mailing list