From 75d47d69b29fc83b51f1bbf382626ddc5ddb6af3 Mon Sep 17 00:00:00 2001 From: Seonmi Jin Date: Thu, 17 Sep 2015 13:52:20 +0900 Subject: [PATCH] [all/audio] Remove unused source code in system.pa Change-Id: If15643fbd88a40d1062724ada78e85ead16da1c9 Signed-off-by: Seonmi Jin --- mmfw-sysconf-simulator/etc/pulse/system.pa | 23 ----------------------- mmfw-sysconf-target-n4/etc/pulse/system.pa | 23 ----------------------- mmfw-sysconf-target-u3/etc/pulse/system.pa | 23 ----------------------- packaging/mmfw-sysconf.spec | 2 +- 4 files changed, 1 insertion(+), 70 deletions(-) diff --git a/mmfw-sysconf-simulator/etc/pulse/system.pa b/mmfw-sysconf-simulator/etc/pulse/system.pa index a024edb..abfb92d 100644 --- a/mmfw-sysconf-simulator/etc/pulse/system.pa +++ b/mmfw-sysconf-simulator/etc/pulse/system.pa @@ -19,27 +19,12 @@ # This startup script is used only if PulseAudio is started in system # mode. -### Custom policy module to route between bt<=speaker -#load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:0,0 -#load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:0,0 fragment_size=8192 -#load-module module-alsa-source source_name=alsa_input.0.analog-stereo device=hw:0,0 fragment_size=8192 -#load-module module-alsa-source source_name=alsa_input.8.analog-stereo device=hw:0,8 mmap=0 -#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,0 tsched_buffer_size=2048576 -#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,0 fragment_size=8192 mmap=1 -#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,1 fragment_size=8192 mmap=1 tsched=1 tsched_buffer_size=262144 fixed_latency_range=1 - ### Automatically load driver modules depending on the hardware available #.ifexists module-udev-detect.so #load-module module-udev-detect -#.else -### Use the static hardware detection module (for systems that lack udev/hal support) -#load-module module-detect #.endif ### Load several protocols -.ifexists module-esound-protocol-unix.so -load-module module-esound-protocol-unix -.endif load-module module-native-protocol-unix auth-anonymous=1 ### Load module-policy @@ -51,7 +36,6 @@ load-module module-role-ducking global=1 volume=0 load-module module-bluetooth-policy load-module module-bluetooth-discover -#load-module module-bluetooth-discover enable_scmst=true ### Automatically restore the volume of streams and devices #load-module module-stream-restore @@ -78,13 +62,6 @@ load-module module-always-sink ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle timeout=1 -### Enable positioned event sounds -#load-module module-position-event-sounds - -### Set default source (not to use alsa_sink monitor which is index 0) -#set-default-source alsa_input.0.analog-stereo - load-module module-null-sink -#load-module module-remap-sink sink_name=mono_alsa master=alsa_output.1.analog-stereo channels=1 load-sample camera-shutter /usr/share/sounds/mm-camcorder/capture_shutter_02.wav load-sample recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.wav diff --git a/mmfw-sysconf-target-n4/etc/pulse/system.pa b/mmfw-sysconf-target-n4/etc/pulse/system.pa index a024edb..abfb92d 100644 --- a/mmfw-sysconf-target-n4/etc/pulse/system.pa +++ b/mmfw-sysconf-target-n4/etc/pulse/system.pa @@ -19,27 +19,12 @@ # This startup script is used only if PulseAudio is started in system # mode. -### Custom policy module to route between bt<=speaker -#load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:0,0 -#load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:0,0 fragment_size=8192 -#load-module module-alsa-source source_name=alsa_input.0.analog-stereo device=hw:0,0 fragment_size=8192 -#load-module module-alsa-source source_name=alsa_input.8.analog-stereo device=hw:0,8 mmap=0 -#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,0 tsched_buffer_size=2048576 -#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,0 fragment_size=8192 mmap=1 -#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,1 fragment_size=8192 mmap=1 tsched=1 tsched_buffer_size=262144 fixed_latency_range=1 - ### Automatically load driver modules depending on the hardware available #.ifexists module-udev-detect.so #load-module module-udev-detect -#.else -### Use the static hardware detection module (for systems that lack udev/hal support) -#load-module module-detect #.endif ### Load several protocols -.ifexists module-esound-protocol-unix.so -load-module module-esound-protocol-unix -.endif load-module module-native-protocol-unix auth-anonymous=1 ### Load module-policy @@ -51,7 +36,6 @@ load-module module-role-ducking global=1 volume=0 load-module module-bluetooth-policy load-module module-bluetooth-discover -#load-module module-bluetooth-discover enable_scmst=true ### Automatically restore the volume of streams and devices #load-module module-stream-restore @@ -78,13 +62,6 @@ load-module module-always-sink ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle timeout=1 -### Enable positioned event sounds -#load-module module-position-event-sounds - -### Set default source (not to use alsa_sink monitor which is index 0) -#set-default-source alsa_input.0.analog-stereo - load-module module-null-sink -#load-module module-remap-sink sink_name=mono_alsa master=alsa_output.1.analog-stereo channels=1 load-sample camera-shutter /usr/share/sounds/mm-camcorder/capture_shutter_02.wav load-sample recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.wav diff --git a/mmfw-sysconf-target-u3/etc/pulse/system.pa b/mmfw-sysconf-target-u3/etc/pulse/system.pa index a024edb..abfb92d 100644 --- a/mmfw-sysconf-target-u3/etc/pulse/system.pa +++ b/mmfw-sysconf-target-u3/etc/pulse/system.pa @@ -19,27 +19,12 @@ # This startup script is used only if PulseAudio is started in system # mode. -### Custom policy module to route between bt<=speaker -#load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:0,0 -#load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:0,0 fragment_size=8192 -#load-module module-alsa-source source_name=alsa_input.0.analog-stereo device=hw:0,0 fragment_size=8192 -#load-module module-alsa-source source_name=alsa_input.8.analog-stereo device=hw:0,8 mmap=0 -#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,0 tsched_buffer_size=2048576 -#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,0 fragment_size=8192 mmap=1 -#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,1 fragment_size=8192 mmap=1 tsched=1 tsched_buffer_size=262144 fixed_latency_range=1 - ### Automatically load driver modules depending on the hardware available #.ifexists module-udev-detect.so #load-module module-udev-detect -#.else -### Use the static hardware detection module (for systems that lack udev/hal support) -#load-module module-detect #.endif ### Load several protocols -.ifexists module-esound-protocol-unix.so -load-module module-esound-protocol-unix -.endif load-module module-native-protocol-unix auth-anonymous=1 ### Load module-policy @@ -51,7 +36,6 @@ load-module module-role-ducking global=1 volume=0 load-module module-bluetooth-policy load-module module-bluetooth-discover -#load-module module-bluetooth-discover enable_scmst=true ### Automatically restore the volume of streams and devices #load-module module-stream-restore @@ -78,13 +62,6 @@ load-module module-always-sink ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle timeout=1 -### Enable positioned event sounds -#load-module module-position-event-sounds - -### Set default source (not to use alsa_sink monitor which is index 0) -#set-default-source alsa_input.0.analog-stereo - load-module module-null-sink -#load-module module-remap-sink sink_name=mono_alsa master=alsa_output.1.analog-stereo channels=1 load-sample camera-shutter /usr/share/sounds/mm-camcorder/capture_shutter_02.wav load-sample recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.wav diff --git a/packaging/mmfw-sysconf.spec b/packaging/mmfw-sysconf.spec index eb7794e..2fb18de 100644 --- a/packaging/mmfw-sysconf.spec +++ b/packaging/mmfw-sysconf.spec @@ -2,7 +2,7 @@ Name: mmfw-sysconf Summary: Multimedia Framework system configuration package -Version: 0.2.19 +Version: 0.2.20 Release: 0 Group: Multimedia/Configuration License: Apache-2.0 -- 2.7.4