[pulseaudio-commits] r1760 - in /branches/lennart/src: Makefile.am daemon/default.pa.in

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Mon Sep 3 13:53:08 PDT 2007


Author: lennart
Date: Mon Sep  3 22:53:07 2007
New Revision: 1760

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1760&root=pulseaudio&view=rev
Log:
add a new module module-default-device-restore which automatically saves and restores the selected default device. Enable it by default.

Modified:
    branches/lennart/src/Makefile.am
    branches/lennart/src/daemon/default.pa.in

Modified: branches/lennart/src/Makefile.am
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/Makefile.am?rev=1760&root=pulseaudio&r1=1759&r2=1760&view=diff
==============================================================================
--- branches/lennart/src/Makefile.am (original)
+++ branches/lennart/src/Makefile.am Mon Sep  3 22:53:07 2007
@@ -927,6 +927,7 @@
 		module-null-sink.la \
 		module-detect.la \
 		module-volume-restore.la \
+		module-default-device-restore.la \
 		module-rescue-streams.la \
 		module-suspend-on-idle.la \
 		module-http-protocol-tcp.la \
@@ -1080,6 +1081,7 @@
 		modules/module-jack-sink-symdef.h \
 		modules/module-jack-source-symdef.h \
 		modules/module-volume-restore-symdef.h \
+		modules/module-default-device-restore-symdef.h \
 		modules/module-rescue-streams-symdef.h \
 		modules/module-suspend-on-idle-symdef.h \
 		modules/module-hal-detect-symdef.h \
@@ -1301,6 +1303,12 @@
 module_volume_restore_la_LDFLAGS = -module -avoid-version
 module_volume_restore_la_LIBADD = $(AM_LIBADD) libpulsecore.la
 module_volume_restore_la_CFLAGS = $(AM_CFLAGS)
+
+# Default sink/source restore module
+module_default_device_restore_la_SOURCES = modules/module-default-device-restore.c
+module_default_device_restore_la_LDFLAGS = -module -avoid-version
+module_default_device_restore_la_LIBADD = $(AM_LIBADD) libpulsecore.la
+module_default_device_restore_la_CFLAGS = $(AM_CFLAGS)
 
 # Rescue streams module
 module_rescue_streams_la_SOURCES = modules/module-rescue-streams.c

Modified: branches/lennart/src/daemon/default.pa.in
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/daemon/default.pa.in?rev=1760&root=pulseaudio&r1=1759&r2=1760&view=diff
==============================================================================
--- branches/lennart/src/daemon/default.pa.in (original)
+++ branches/lennart/src/daemon/default.pa.in Mon Sep  3 22:53:07 2007
@@ -63,6 +63,9 @@
 ### Automatically restore the volume of playback streams
 load-module module-volume-restore
 
+### Automatically restore the default sink/source when changed by the user during runtime
+load-module module-default-device-restore
+
 ### Automatically move streams to the default sink if the sink they are
 ### connected to dies, similar for sources
 load-module module-rescue-streams




More information about the pulseaudio-commits mailing list