Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #27 from ginayeh/enableA2dpAvrcp

Bug 895299 - Enable A2DP and AVRCP in audio config for BlueZ, r=mchen
  • Loading branch information...
commit e8918e0a2f4e51d3a19084cc8188021c587fa13e 2 parents 29aa73f + 2f626e9
Marco Chen authored July 31, 2013

Showing 2 changed files with 55 additions and 0 deletions. Show diff stats Hide diff stats

  1. 54  audio.conf
  2. 1  full_otoro.mk
54  audio.conf
... ...
@@ -0,0 +1,54 @@
  1
+# Configuration file for the audio service
  2
+
  3
+# This section contains options which are not specific to any
  4
+# particular interface
  5
+# NOTE: Enable=Sink means that bluetoothd exposes Sink interface for remote
  6
+# devices, and the local device is a Source
  7
+[General]
  8
+Enable=Sink,Control
  9
+Disable=Headset,Gateway,Source
  10
+
  11
+# request master role for incoming connections
  12
+# so as to reduce the number of piconets and
  13
+# allow lot more incoming connections
  14
+Master=true
  15
+
  16
+# If we want to disable support for specific services
  17
+# Defaults to supporting all implemented services
  18
+#Disable=Control,Source
  19
+
  20
+# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
  21
+# Defaults to HCI
  22
+#SCORouting=PCM
  23
+
  24
+# Automatically connect both A2DP and HFP/HSP profiles for incoming
  25
+# connections. Some headsets that support both profiles will only connect the
  26
+# other one automatically so the default setting of true is usually a good
  27
+# idea.
  28
+#AutoConnect=true
  29
+
  30
+# Headset interface specific options (i.e. options which affect how the audio
  31
+# service interacts with remote headset devices)
  32
+#[Headset]
  33
+
  34
+# Set to true to support HFP (in addition to HSP only which is the default)
  35
+# Defaults to false
  36
+#HFP=true
  37
+
  38
+# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
  39
+#MaxConnections=1
  40
+
  41
+# Set to true to enable use of fast connectable mode (faster page scanning)
  42
+# for HFP when incomming call starts. Default settings are restored after
  43
+# call is answered or rejected. Page scan interval is much shorter and page
  44
+# scan type changed to interlaced. Such allows faster connection initiated
  45
+# by a headset.
  46
+FastConnectable=false
  47
+
  48
+# Just an example of potential config options for the other interfaces
  49
+[A2DP]
  50
+SBCSources=1
  51
+MPEG12Sources=0
  52
+
  53
+[AVRCP]
  54
+InputDeviceName=AVRCP
1  full_otoro.mk
@@ -3,6 +3,7 @@ PRODUCT_COPY_FILES := \
3 3
   device/qcom/otoro/Fts-touchscreen.idc:system/usr/idc/Fts-touchscreen.idc \
4 4
   device/qcom/otoro/atmel-touchscreen.idc:system/usr/idc/atmel-touchscreen.idc \
5 5
   device/qcom/otoro/media_profiles.xml:system/etc/media_profiles.xml \
  6
+  device/qcom/otoro/audio.conf:system/etc/bluetooth/audio.conf \
6 7
   device/qcom/msm7627a/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf
7 8
 
8 9
 $(call inherit-product-if-exists, vendor/qcom/otoro/otoro-vendor-blobs.mk)

0 notes on commit e8918e0

Please sign in to comment.
Something went wrong with that request. Please try again.