mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-26 05:34:23 +08:00
80b1146a20
This patch adds logic for automatically connecting both A2DP and HFP profiles if the headset only connects the other. The feature can be switched off using the AutoConnect audio.conf parameter.
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Configuration file for the audio service
|
|
|
|
# This section contains options which are not specific to any
|
|
# particular interface
|
|
[General]
|
|
|
|
# Switch to master role for incoming connections (defaults to true)
|
|
#Master=true
|
|
|
|
# If we want to disable support for specific services
|
|
# Defaults to supporting all implemented services
|
|
#Disable=Control,Source
|
|
|
|
# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
|
|
# Defaults to HCI
|
|
#SCORouting=PCM
|
|
|
|
# Automatically connect both A2DP and HFP/HSP profiles for incoming
|
|
# connections. Some headsets that support both profiles will only connect the
|
|
# other one automatically so the default setting of true is usually a good
|
|
# idea.
|
|
#AutoConnect=true
|
|
|
|
# Headset interface specific options (i.e. options which affect how the audio
|
|
# service interacts with remote headset devices)
|
|
[Headset]
|
|
|
|
# Set to true to support HFP (in addition to HSP only which is the default)
|
|
# Defaults to false
|
|
HFP=false
|
|
|
|
# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
|
|
MaxConnections=1
|
|
|
|
# Just an example of potential config options for the other interfaces
|
|
#[A2DP]
|
|
#SBCSources=1
|
|
#MPEG12Sources=0
|