Rates/formats available upstream from the plug plugin

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

 



Hi,

mplayer checks hw_params for availability of the current format
http://mplayer-ww.git.sourceforge.net/git/gitweb.cgi?p=mplayer-ww/mplayer-ww;a=blob;f=libao2/ao_alsa.c;h=57f0bd07cb5ec300d327682a0b5209ba9dc10e30;hb=09ab9f6346aaf15d20792ca3df761a45fe46d83d#l514
. If the check fails, it uses 16bits as fixed default.

Now if we define the card to be plughw:0, the check still fails for
formats unsupported directly by the card. Which in fact is incorrect
since the plug plugin takes care of most formats known. The same holds
for sample rates.

IMO either the plug plugin should reconfigure hw_params for upstream
use, or mplayer should use a different API call for checking parameters
of the actual alsa device (not just the hardware itself, as defined by
its alsa driver) - which one?

Thanks a lot,

Pavel.


_______________________________________________
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