On Wed, Dec 25, 2013 at 10:07:07AM +0100, Peter Meerwald wrote:
>
> description_key is never set as far as I see; probably this attribute
> should be dropped alltogether
>
description_key is set in pa_alsa_path_new():
items[0].data = &p->priority;
items[1].data = &p->description_key;
items[2].data = &p->description;
items[3].data = &mute_during_activation;
items[4].data = &p->eld_device;
if (!paths_dir)
paths_dir = get_default_paths_dir();
fn = pa_maybe_prefix_path(fname, paths_dir);
r = pa_config_parse(fn, NULL, items, p->proplist, p);
pa_config_parse sets the description_key either to NULL or to some
malloced string. If the alsa mixer path doesn't contain a description-key it
will
be NULL.
See this commit for more info 3c1ca6d4b881863b41154b561591cf0a68230c16.
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss