mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-23 06:59:53 -05:00
device-manager: Add a new module to keep track of the names and descriptions of various sinks.
This will be used as the basis for a queryable system for past and present devices, initially for use in KDE. Currently all this module does is save lists of sinks/sources and their descriptions, so it needs to gain a protocol extension to make this queryable. As things stand it will save the device descriptions of all sinks and restore them if they differ from whats on record.
This commit is contained in:
parent
afd1b6d355
commit
bc869b5b28
2 changed files with 362 additions and 2 deletions
|
|
@ -990,7 +990,8 @@ modlibexec_LTLIBRARIES += \
|
|||
module-sine-source.la \
|
||||
module-detect.la \
|
||||
module-volume-restore.la \
|
||||
module-device-restore.la \
|
||||
module-device-manager.la \
|
||||
module-device-restore.la \
|
||||
module-stream-restore.la \
|
||||
module-card-restore.la \
|
||||
module-default-device-restore.la \
|
||||
|
|
@ -1231,7 +1232,8 @@ SYMDEF_FILES = \
|
|||
modules/jack/module-jack-sink-symdef.h \
|
||||
modules/jack/module-jack-source-symdef.h \
|
||||
modules/module-volume-restore-symdef.h \
|
||||
modules/module-device-restore-symdef.h \
|
||||
modules/module-device-manager-symdef.h \
|
||||
modules/module-device-restore-symdef.h \
|
||||
modules/module-stream-restore-symdef.h \
|
||||
modules/module-card-restore-symdef.h \
|
||||
modules/module-default-device-restore-symdef.h \
|
||||
|
|
@ -1539,6 +1541,12 @@ module_cork_music_on_phone_la_LDFLAGS = $(MODULE_LDFLAGS)
|
|||
module_cork_music_on_phone_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
|
||||
module_cork_music_on_phone_la_CFLAGS = $(AM_CFLAGS)
|
||||
|
||||
# Device description restore module
|
||||
module_device_manager_la_SOURCES = modules/module-device-manager.c
|
||||
module_device_manager_la_LDFLAGS = $(MODULE_LDFLAGS)
|
||||
module_device_manager_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
|
||||
module_device_manager_la_CFLAGS = $(AM_CFLAGS)
|
||||
|
||||
# Device volume/muted restore module
|
||||
module_device_restore_la_SOURCES = modules/module-device-restore.c
|
||||
module_device_restore_la_LDFLAGS = $(MODULE_LDFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue