[Audio] load bluetooth modules only if exists 70/142470/1 accepted/tizen/unified/20170804.133217 submit/tizen/20170804.051556
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 4 Aug 2017 05:07:20 +0000 (14:07 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Fri, 4 Aug 2017 05:07:20 +0000 (14:07 +0900)
[Version] 0.2.112
[Profile] Common
[Issue Type] Enhancement

Change-Id: Ib68c1fd35d55122637022d766c7c3ed0135cbfc4

mmfw-sysconf-simulator/etc/pulse/system.pa
mmfw-sysconf-target-artik10/etc/pulse/system.pa
mmfw-sysconf-target-n4/etc/pulse/system.pa
mmfw-sysconf-target-rpi3/etc/pulse/system.pa
mmfw-sysconf-target-tm1/etc/pulse/system.pa
mmfw-sysconf-target-tw1/etc/pulse/system.pa
mmfw-sysconf-target-tw2/etc/pulse/system.pa
mmfw-sysconf-target-u3/etc/pulse/system.pa
packaging/mmfw-sysconf.spec

index 7db1e0d..b6a0ef2 100644 (file)
@@ -34,8 +34,14 @@ load-module module-role-ducking global=1 trigger_roles=solo/notification ducking
 load-module module-hw-keysound
 load-module module-poweroff
 
+### Automatically load driver modules for Bluetooth hardware
+.ifexists module-bluetooth-policy.so
 load-module module-bluetooth-policy
+.endif
+
+.ifexists module-bluetooth-discover.so
 load-module module-bluetooth-discover
+.endif
 
 ### Automatically restore the volume of streams and devices
 #load-module module-stream-restore
index 21ee9ba..532fd0a 100644 (file)
@@ -32,8 +32,14 @@ load-module module-tizenaudio-policy
 load-module module-sound-player
 load-module module-role-ducking global=1 trigger_roles=solo/notification ducking_roles=media,system,alarm,notification,voice-information,ext-media/media,ext-media volume=0%/25% fade_in=0/1000 fade_out=0/1000
 
+### Automatically load driver modules for Bluetooth hardware
+.ifexists module-bluetooth-policy.so
 load-module module-bluetooth-policy
+.endif
+
+.ifexists module-bluetooth-discover.so
 load-module module-bluetooth-discover
+.endif
 
 ### Automatically restore the volume of streams and devices
 #load-module module-stream-restore
index 7db1e0d..b6a0ef2 100644 (file)
@@ -34,8 +34,14 @@ load-module module-role-ducking global=1 trigger_roles=solo/notification ducking
 load-module module-hw-keysound
 load-module module-poweroff
 
+### Automatically load driver modules for Bluetooth hardware
+.ifexists module-bluetooth-policy.so
 load-module module-bluetooth-policy
+.endif
+
+.ifexists module-bluetooth-discover.so
 load-module module-bluetooth-discover
+.endif
 
 ### Automatically restore the volume of streams and devices
 #load-module module-stream-restore
index c851bf7..5aac8b9 100644 (file)
@@ -32,8 +32,15 @@ load-module module-udev-detect
 load-module module-sound-player
 load-module module-role-ducking global=1 trigger_roles=solo/notification,voice-information ducking_roles=media,system,alarm,notification,voice-information,ext-media/media,ext-media volume=0%/25% fade_in=0/1000 fade_out=0/1000
 
+### Automatically load driver modules for Bluetooth hardware
+.ifexists module-bluetooth-policy.so
 load-module module-bluetooth-policy
+.endif
+
+.ifexists module-bluetooth-discover.so
 load-module module-bluetooth-discover
+.endif
+
 
 ### Automatically restore the volume of streams and devices
 #load-module module-stream-restore
index 7db1e0d..b6a0ef2 100644 (file)
@@ -34,8 +34,14 @@ load-module module-role-ducking global=1 trigger_roles=solo/notification ducking
 load-module module-hw-keysound
 load-module module-poweroff
 
+### Automatically load driver modules for Bluetooth hardware
+.ifexists module-bluetooth-policy.so
 load-module module-bluetooth-policy
+.endif
+
+.ifexists module-bluetooth-discover.so
 load-module module-bluetooth-discover
+.endif
 
 ### Automatically restore the volume of streams and devices
 #load-module module-stream-restore
index d83c69c..7412d18 100644 (file)
@@ -33,8 +33,14 @@ load-module module-sound-player
 load-module module-role-ducking global=1 trigger_roles=solo/notification ducking_roles=media,system,alarm,notification,voice-information,ext-media/media,ext-media volume=0%/25% fade_in=0/1000 fade_out=0/1000
 load-module module-poweroff
 
+### Automatically load driver modules for Bluetooth hardware
+.ifexists module-bluetooth-policy.so
 load-module module-bluetooth-policy
+.endif
+
+.ifexists module-bluetooth-discover.so
 load-module module-bluetooth-discover
+.endif
 
 ### Automatically restore the volume of streams and devices
 #load-module module-stream-restore
index d83c69c..7412d18 100644 (file)
@@ -33,8 +33,14 @@ load-module module-sound-player
 load-module module-role-ducking global=1 trigger_roles=solo/notification ducking_roles=media,system,alarm,notification,voice-information,ext-media/media,ext-media volume=0%/25% fade_in=0/1000 fade_out=0/1000
 load-module module-poweroff
 
+### Automatically load driver modules for Bluetooth hardware
+.ifexists module-bluetooth-policy.so
 load-module module-bluetooth-policy
+.endif
+
+.ifexists module-bluetooth-discover.so
 load-module module-bluetooth-discover
+.endif
 
 ### Automatically restore the volume of streams and devices
 #load-module module-stream-restore
index c851bf7..5aac8b9 100644 (file)
@@ -32,8 +32,15 @@ load-module module-udev-detect
 load-module module-sound-player
 load-module module-role-ducking global=1 trigger_roles=solo/notification,voice-information ducking_roles=media,system,alarm,notification,voice-information,ext-media/media,ext-media volume=0%/25% fade_in=0/1000 fade_out=0/1000
 
+### Automatically load driver modules for Bluetooth hardware
+.ifexists module-bluetooth-policy.so
 load-module module-bluetooth-policy
+.endif
+
+.ifexists module-bluetooth-discover.so
 load-module module-bluetooth-discover
+.endif
+
 
 ### Automatically restore the volume of streams and devices
 #load-module module-stream-restore
index 30f2f25..14e164f 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mmfw-sysconf
 Summary:    Multimedia Framework system configuration package
-Version:    0.2.111
+Version:    0.2.112
 Release:    0
 Group:      Multimedia/Configuration
 License:    LGPL-2.1 and Apache-2.0