14.04 蓝牙耳机不会保存 a2dp 设置

Dam*_*iss 14 sound bluetooth 14.04

自从更新到 ubuntu 14.04 后,每次我的蓝牙设备空闲或我将其关闭然后重新打开时,它默认为电话设置,我无法将其默认为 a2dp。

我已经搜索过并且只找到了几个可能的解决方案,例如 蓝牙扬声器:首选模式“高保真播放”(A2DP)没有得到保存, 但这些对我不起作用。当我Disable=Headset按照该帖子中的建议使用时,它会暂时工作,但过了一会儿,如果我的设备断开连接,它将不会作为音频设备重新连接。

我正在使用 Bose Soundlink 耳机,我的/etc/bluetooth/audio.conf文件如下:

 # 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=Gateway,Source,Socket

# 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, false means only HSP is supported
# Defaults to true
HFP=false
HSP=false

# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnected=0

# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incoming 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

# Just an example of potential config options for the other interfaces
#[A2DP]
#SBCSources=1
#MPEG12Sources=0
Run Code Online (Sandbox Code Playgroud)

Eld*_*eek 1

使用pavucontrolpavucontrol包,为您的设备设置 A2DP 并将连接映射到它非常容易。您的配对耳机应显示为输出音频的选项。

不要忘记在配置选项卡中将其置于高质量模式 (A2DP) 。这对于某些具有混合模式的设备是必要的。

来源: https: //wiki.debian.org/BluetoothUser/a2dp