Modify configure files to match IVI feature 05/3205/1
authorWu Zheng <wu.zheng@intel.com>
Wed, 20 Mar 2013 02:58:56 +0000 (10:58 +0800)
committerWu Zheng <wu.zheng@intel.com>
Wed, 20 Mar 2013 02:58:56 +0000 (10:58 +0800)
audio/audio.conf
audio/headset.c
packaging/bluez.spec
src/main.conf

index d955f79..7abc131 100644 (file)
@@ -9,19 +9,12 @@
 
 # If we want to disable support for specific services
 # Defaults to supporting all implemented services
-#Disable=Gateway,Source,Socket
-
-#ifdef __TIZEN_PATCH__
-Disable=Socket
-#endif
+#Disable=Control,Source
+Enable=Gateway,Sink,Source
 
 # SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
-#ifdef __TIZEN_PATCH__
-SCORouting=PCM
-#else
 # Defaults to HCI
 #SCORouting=PCM
-#endif
 
 # Automatically connect both A2DP and HFP/HSP profiles for incoming
 # connections. Some headsets that support both profiles will only connect the
@@ -31,21 +24,21 @@ SCORouting=PCM
 
 # Headset interface specific options (i.e. options which affect how the audio
 # service interacts with remote headset devices)
-[Headset]
+#[Headset]
 
 # Set to true to support HFP, false means only HSP is supported
 # Defaults to true
-HFP=true
+#HFP=true
 
 # Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
-MaxConnected=1
+#MaxConnected=1
 
 # Set to true to enable use of fast connectable mode (faster page scanning)
-# for HFP when incoming call starts. Default settings are restored after
+# for HFP when incomming call starts. Default settings are restored after
 # call is answered or rejected. Page scan interval is much shorter and page
 # scan type changed to interlaced. Such allows faster connection initiated
 # by a headset.
-FastConnectable=false
+#FastConnectable=false
 
 # Just an example of potential config options for the other interfaces
 #[A2DP]
index 2bb1b4f..c0424d1 100644 (file)
@@ -26,6 +26,8 @@
 #include <config.h>
 #endif
 
+#undef __TIZEN_PATCH__
+
 #include <stdio.h>
 #include <errno.h>
 #include <fcntl.h>
index 537b8ed..76bbe02 100644 (file)
@@ -89,7 +89,7 @@ export LDFLAGS=" -lncurses -Wl,--as-needed "
                        --enable-health \
                        --enable-dbusoob \
                        --enable-test \
-                        --with-telephony=tizen
+                        --with-telephony=ofono
 
 make %{?jobs:-j%jobs}
 
index e5b7d39..7024f3e 100644 (file)
@@ -11,9 +11,9 @@ Name = %h-%d
 # Default device class. Only the major and minor device class bits are
 # considered.
 #ifdef __TIZEN_PATCH__
-Class = 0x00020C        # Smart phone
+#Class = 0x00020C        # Smart phone
 #else
-#Class = 0x000100
+Class = 0x000100
 #endif
 
 # How long to stay in discoverable mode before going back to non-discoverable