[alsa-devel] Rates/formats available upstream from the plug plugin
superquad.vortex2 at gmail.com
Tue Aug 3 17:35:55 CEST 2010
2010/8/3 Pavel Hofman <pavel.hofman at ivitera.com>
> mplayer checks hw_params for availability of the current format
> . 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,
AFAIK , "plug" plugin does not support AC3 encode/decode , and alsa spdif
device support AC3 passthrough
More information about the Alsa-devel