modargs: Add a mechanism to append modargs

System Internals / PulseAudio - Arun Raghavan [arunraghavan.net] - 22 June 2016 10:34 UTC

This allows us to parse an extra set of modargs to tack on to an existing set. Duplicates in the second set are ignored, since this fits our use best. In the future, this could be extended to support different merge modes (ignore dupes vs. replace with dupes), but I've left this out since there isn't a clear need and it would be dead code for now.

06fbdca modargs: Add a mechanism to append modargs
src/pulsecore/modargs.c | 54 +++++++++++++++++++++++++++++++----------------
src/pulsecore/modargs.h | 2 ++
2 files changed, 38 insertions(+), 18 deletions(-)

Upstream: cgit.freedesktop.org


  • Share