[alsa-devel] Disable conversions

Lennart Poettering mznyfn at 0pointer.de
Sat Dec 22 23:37:01 CET 2007


On Mon, 26.11.07 16:55, Jaroslav Kysela (perex at perex.cz) wrote:

> 1) Proposal - one argument specifying multiple disabled conversions:
> 
>    plughw:CARD=0,DEV=0,DISABLECONV=cfr
> 
>    c = channels
>    f = format
>    r = rate
> 
>    And add 'disableconv' to pcm/pcm_plug.c configuration parser.

Works for me. However, abbreviating things too brutally doesn't seem
like a good idea, I'd thus vote for your proposal #2:

> 2) Proposal - multiple arguments
> 
>    plughw:CARD=0,DEV=0,DISABLECHANNELS=1,DISABLERATE=1,DISABLEFORMAT=1
> 
> I prefer first proposal (I don't think that it will be widely used), but I 
> have no objections for second, too.
> 
> This can be applied to plug: device as well.

It would be great if something like this would be available. I am
happy with either, as long as I can make use of it!

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the Alsa-devel mailing list