[pulseaudio-discuss] [PATCH 0/6] Factory settings for module-device-restore
Tanu Kaskinen
tanu.kaskinen at jollamobile.com
Thu Oct 25 10:37:20 PDT 2012
Blurb here... I'll copy the commit message from the last patch:
The idea of the feature is that a device vendor may want to initialize
device volumes to known good defaults. The factory settings are read
from a configuration that contains entries that look like this:
[Entry sink:foodevicename:barportname]
volume = front-left:70%,front-right:70%
The settings are written to the device-restore database during module
loading, but only if the database doesn't already contain an entry
with matching key, so user choices are not overwritten.
Tanu Kaskinen (6):
device-restore: Fix a comment.
device-restore: Fix a memory leak.
core-util: Add pa_parse_cvolume().
device-restore: Allow zero formats for the database entries.
device-restore: Add perportentry_{read,write}_raw_name().
device-restore: Add support for "factory settings".
src/modules/module-device-restore.c | 218 ++++++++++++++++++++++++++++++-----
src/pulsecore/core-util.c | 57 +++++++++
src/pulsecore/core-util.h | 1 +
3 files changed, 249 insertions(+), 27 deletions(-)
--
1.7.10.4
More information about the pulseaudio-discuss
mailing list