[all/audio] Modify stream-map.json and system.pa 56/48656/4 accepted/tizen/mobile/20151008.004522 accepted/tizen/tv/20151008.004530 accepted/tizen/wearable/20151008.004544 submit/tizen/20151007.083932 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 24 Sep 2015 08:56:09 +0000 (17:56 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 7 Oct 2015 07:31:24 +0000 (16:31 +0900)
Add ext-media role in stream-map.json for external devices
Enable module-udev-detect and disable module-rescue-streams

Change-Id: I53816fb98b7c2e7c1c19debabe1c3881cfe1de1b

mmfw-sysconf-simulator/etc/pulse/stream-map.json
mmfw-sysconf-simulator/etc/pulse/system.pa
mmfw-sysconf-target-n4/etc/pulse/stream-map.json
mmfw-sysconf-target-n4/etc/pulse/system.pa
mmfw-sysconf-target-u3/etc/pulse/stream-map.json
mmfw-sysconf-target-u3/etc/pulse/system.pa
packaging/mmfw-sysconf.spec

index 53cc9e8..c8cadf1 100644 (file)
                        "route-type" : "auto",
                        "volume-types":{"in":"none","out":"media"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["builtin-speaker","audio-jack"],
+                       "avail-out-devices":["audio-jack","builtin-speaker"],
                        "avail-frameworks":["sound-manager"],
                },
                {
index abfb92d..03d7508 100644 (file)
@@ -21,7 +21,7 @@
 
 ### Automatically load driver modules depending on the hardware available
 #.ifexists module-udev-detect.so
-#load-module module-udev-detect
+load-module module-udev-detect
 #.endif
 
 ### Load several protocols
@@ -54,7 +54,7 @@ load-module module-dbus-protocol access=local
 
 ### Automatically move streams to the default sink if the sink they are
 ### connected to dies, similar for sources
-load-module module-rescue-streams
+#load-module module-rescue-streams
 
 ### Make sure we always have a sink around, even if it is a null sink.
 load-module module-always-sink
@@ -62,6 +62,5 @@ load-module module-always-sink
 ### Automatically suspend sinks/sources that become idle for too long
 load-module module-suspend-on-idle timeout=1
 
-load-module module-null-sink
 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
index eaff35b..502171f 100644 (file)
                        "route-type" : "auto",
                        "volume-types":{"in":"none","out":"media"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["builtin-speaker","audio-jack"],
+                       "avail-out-devices":["audio-jack","builtin-speaker"],
                        "avail-frameworks":["sound-manager"],
                },
                {
                        "avail-out-devices":["none"],
                        "avail-frameworks":["audio-io"],
                },
+               {
+                       "role":"ext-media",
+                       "priority" : 3,
+                       "route-type" : "manual-ext",
+                       "volume-types":{"in":"none","out":"media"},
+                       "avail-in-devices":["none"],
+                       "avail-out-devices":["bt"],
+                       "avail-frameworks":["player","wav-player","tone-player","audio-io"],
+               },
        ]
 }
index abfb92d..03d7508 100644 (file)
@@ -21,7 +21,7 @@
 
 ### Automatically load driver modules depending on the hardware available
 #.ifexists module-udev-detect.so
-#load-module module-udev-detect
+load-module module-udev-detect
 #.endif
 
 ### Load several protocols
@@ -54,7 +54,7 @@ load-module module-dbus-protocol access=local
 
 ### Automatically move streams to the default sink if the sink they are
 ### connected to dies, similar for sources
-load-module module-rescue-streams
+#load-module module-rescue-streams
 
 ### Make sure we always have a sink around, even if it is a null sink.
 load-module module-always-sink
@@ -62,6 +62,5 @@ load-module module-always-sink
 ### Automatically suspend sinks/sources that become idle for too long
 load-module module-suspend-on-idle timeout=1
 
-load-module module-null-sink
 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
index eaff35b..d00caae 100644 (file)
@@ -44,7 +44,7 @@
                        "route-type" : "auto",
                        "volume-types":{"in":"none","out":"media"},
                        "avail-in-devices":["audio-jack","builtin-mic"],
-                       "avail-out-devices":["forwarding","audio-jack","bt","builtin-speaker"],
+                       "avail-out-devices":["forwarding","audio-jack","builtin-speaker","bt","usb-audio"],
                        "avail-frameworks":["player","wav-player","tone-player","audio-io"],
                },
                {
@@ -53,7 +53,7 @@
                        "route-type" : "auto",
                        "volume-types":{"in":"none","out":"system"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["forwarding","audio-jack","bt","builtin-speaker"],
+                       "avail-out-devices":["forwarding","audio-jack","builtin-speaker","bt","usb-audio"],
                        "avail-frameworks":["player","wav-player","tone-player","audio-io"],
                },
                {
@@ -62,7 +62,7 @@
                        "route-type" : "auto-all",
                        "volume-types":{"in":"none","out":"alarm"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["audio-jack","bt","builtin-speaker"],
+                       "avail-out-devices":["audio-jack","builtin-speaker","bt","usb-audio"],
                        "avail-frameworks":["player","wav-player","tone-player","audio-io"],
                },
                {
@@ -71,7 +71,7 @@
                        "route-type" : "auto-all",
                        "volume-types":{"in":"none","out":"notification"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["audio-jack","bt","builtin-speaker"],
+                       "avail-out-devices":["audio-jack","builtin-speaker","bt","usb-audio"],
                        "avail-frameworks":["player","wav-player","tone-player","audio-io"],
                },
                {
@@ -80,7 +80,7 @@
                        "route-type" : "auto",
                        "volume-types":{"in":"none","out":"none"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["builtin-speaker"],
+                       "avail-out-devices":["builtin-speaker","audio-jack","bt","usb-audio"],
                        "avail-frameworks":["player","wav-player","tone-player","audio-io"],
                },
                {
@@ -89,7 +89,7 @@
                        "route-type" : "auto",
                        "volume-types":{"in":"none","out":"voice"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["audio-jack","bt","builtin-speaker"],
+                       "avail-out-devices":["audio-jack","builtin-speaker","bt","usb-audio"],
                        "avail-frameworks":["player","wav-player","tone-player","audio-io"],
                },
                {
@@ -97,7 +97,7 @@
                        "priority" : 3,
                        "route-type" : "auto",
                        "volume-types":{"in":"none","out":"none"},
-                       "avail-in-devices":["audio-jack","builtin-mic"],
+                       "avail-in-devices":["audio-jack","usb-audio","builtin-mic"],
                        "avail-out-devices":["none"],
                        "avail-frameworks":["audio-io"],
                },
                        "route-type" : "auto-all",
                        "volume-types":{"in":"none","out":"ringtone"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["audio-jack","bt","builtin-speaker"],
+                       "avail-out-devices":["audio-jack","builtin-speaker","bt","usb-audio"],
                        "avail-frameworks":["player","wav-player","tone-player","audio-io","sound-manager"],
                },
                {
                        "route-type" : "auto-all",
                        "volume-types":{"in":"none","out":"ringtone"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["audio-jack","bt","builtin-speaker"],
+                       "avail-out-devices":["audio-jack","builtin-speaker","bt","usb-audio"],
                        "avail-frameworks":["player","wav-player","tone-player","audio-io"],
                },
                {
                        "priority" : 5,
                        "route-type" : "manual",
                        "volume-types":{"in":"none","out":"voip"},
-                       "avail-in-devices":["builtin-mic","audio-jack","bt"],
-                       "avail-out-devices":["builtin-receiver","builtin-speaker","audio-jack","bt"],
+                       "avail-in-devices":["audio-jack","bt","builtin-mic"],
+                       "avail-out-devices":["audio-jack","builtin-speaker","bt"],
                        "avail-frameworks":["audio-io","tone-player","sound-manager"],
                },
                {
                        "priority" : 6,
                        "route-type" : "manual",
                        "volume-types":{"in":"none","out":"call"},
-                       "avail-in-devices":["builtin-mic","audio-jack","bt"],
-                       "avail-out-devices":["builtin-receiver","builtin-speaker","audio-jack","bt"],
+                       "avail-in-devices":["audio-jack","bt","builtin-mic"],
+                       "avail-out-devices":["audio-jack","builtin-speaker","bt"],
                        "avail-frameworks":["sound-manager","tone-player"],
                },
                {
                        "priority" : 6,
                        "route-type" : "manual",
                        "volume-types":{"in":"none","out":"call"},
-                       "avail-in-devices":["builtin-mic","audio-jack","bt"],
-                       "avail-out-devices":["builtin-receiver","builtin-speaker","audio-jack","bt"],
+                       "avail-in-devices":["audio-jack","bt","builtin-mic"],
+                       "avail-out-devices":["audio-jack","builtin-speaker","bt"],
                        "avail-frameworks":["sound-manager","tone-player"],
                },
                {
                        "route-type" : "auto",
                        "volume-types":{"in":"none","out":"media"},
                        "avail-in-devices":["none"],
-                       "avail-out-devices":["builtin-speaker","audio-jack"],
+                       "avail-out-devices":["audio-jack","builtin-speaker"],
                        "avail-frameworks":["sound-manager"],
                },
                {
                        "avail-out-devices":["none"],
                        "avail-frameworks":["audio-io"],
                },
+               {
+                       "role":"ext-media",
+                       "priority" : 3,
+                       "route-type" : "manual-ext",
+                       "volume-types":{"in":"none","out":"media"},
+                       "avail-in-devices":["usb-audio"],
+                       "avail-out-devices":["bt","usb-audio"],
+                       "avail-frameworks":["player","wav-player","tone-player","audio-io"],
+               },
        ]
 }
index abfb92d..03d7508 100644 (file)
@@ -21,7 +21,7 @@
 
 ### Automatically load driver modules depending on the hardware available
 #.ifexists module-udev-detect.so
-#load-module module-udev-detect
+load-module module-udev-detect
 #.endif
 
 ### Load several protocols
@@ -54,7 +54,7 @@ load-module module-dbus-protocol access=local
 
 ### Automatically move streams to the default sink if the sink they are
 ### connected to dies, similar for sources
-load-module module-rescue-streams
+#load-module module-rescue-streams
 
 ### Make sure we always have a sink around, even if it is a null sink.
 load-module module-always-sink
@@ -62,6 +62,5 @@ load-module module-always-sink
 ### Automatically suspend sinks/sources that become idle for too long
 load-module module-suspend-on-idle timeout=1
 
-load-module module-null-sink
 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
index 2fb18de..fe25f7d 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:       mmfw-sysconf
 Summary:    Multimedia Framework system configuration package
-Version:    0.2.20
+Version:    0.2.21
 Release:    0
 Group:      Multimedia/Configuration
 License:    Apache-2.0