[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] Autoconnect jack ports by default
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH v2] Autoconnect jack ports by default |
Date: |
Thu, 4 Mar 2021 15:12:23 +0100 |
Hi,
> > Well, we need two options then, and have one inconsistent variant.
> > Can't we just get along with connect-ports alone, by using the empty
> > string for "do not auto connect" ?
>
> Historically we've been unable to distinguish between the <unset> and
> <set-to-empty-string> scenarios when parsing CLI args. Maybe that
> isn't a problem for -audiodev since we're not using QemuOpts for
> parsing ?
all qapi opts (including -audiodev) can deal with that just fine as
there is a has_$option bool all optional arguments.
take care,
Gerd