alsa-card-profiles: simplify adding custom profiles

It is sometimes useful to add a custom profile-set.
For that, e.g. `default.conf` needs to be modified.
(at least, i have not succeeded in just adding a new file)

But that change gets overridden when the package is updated,
which could be *extremely* dangerous, e.g. if said profile
changed the `volume-limit`.

By shipping an "empty" `9999-custom.conf`,
the update becomes less problematic,
because one can now use e.g. `dpkg-divert` on said file.

Refs. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050293
This commit is contained in:
Roman Lebedev 2023-08-22 21:05:20 +03:00 committed by Wim Taymans
parent 71653e04d2
commit 4694b48b7b
2 changed files with 23 additions and 5 deletions

View file

@ -573,8 +573,4 @@ fallback = yes
priority = 1
direction = input
; An example for defining multiple-sink profiles
#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
#description = Foobar
#output-mappings = analog-stereo iec958-stereo
#input-mappings = analog-stereo
.include 9999-custom.conf