Re: Confused about 'default' device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

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

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux