📄 sample.a2dprc
字号:
[a2dpd]## Rate# use 32000 if your headset seems to not support 44100 (HP/Logitech works well at 44100, Sonorix at 32000)# However, 44100 is mandatory# If using SCO, then 8000hz is the value needed.# if the plugin do not give the 8000hz stream, then the conversion will be done by the daemon# Until we use a real resample library, we won't get a good quality, this is prototype software.#rate=44100#rate=32000# buggy if I remember well#channels=2## plugin-rate default is the rate used between the plugin and the daemon# if this value is not 0 then alsa will convert all stream to the specified rate and then send it to the daemon# if this value is 0, then alsa will do no conversion at all, the daemon will do it's own resampling.# This "features" is disabled because of the crappy quality of the daemon resampler# For example, to test a2dpd resampling from 32000 to 44100 use plugin-rate=32000 and rate=44100#plugin-rate=32000# Allows to specify the sbc bitpool, this can help reducing bandwith# 8 Allows to run on a 115200 bauds with corresponding quality ;)# 64 needs USB or 921600 bauds# Recommended value from Bluetooth spec. is 53sbcbitpool=32# flags that will later be combinable# 1: display bandwith each seconds.# 3: current stateflags=0# Recommendedenablereversestereo=1# Automatically connect to selected headset if a stream if started# not recommended if running on battery ;)enableautoconnect=1# Automatically disconnect after a timeout (1 <=> 3ms)timeout=2000## AVRCP Commands to run# If these entries are emptied, then some keyboard entry will be sent to /dev/uinput#cmdplay=xmms --playcmdpause=xmms --pausecmdprev=xmms --rewcmdnext=xmms --fwdcmdnew=xmms --playcmdstop=xmms --stop# Put to 0 to ignore AVRCP (if your computer freezes when commands are received)enableavrcp=1## Audio routing## If set to 1 (at a2dp startup only) a2dp will reread configuration file# for audio routing changes each secondenablerereadconfig=1# Display debug traces or notenabledebug=1# Redirect stdout to this file#logfile=/dev/null# Poll stdin for control commands ('c'onnect/'s'tart/'p'ause/'d'isconnect/'a'utoconnect)# Use a2dpd_ctl insteadenablestdin=0# 0 => Bluetooth A2DP Sink# 1 => Alsaenableredirectalsa=0# Your bluetooth headset address#address=00:08:F4:30:07:64# Address of your alsa output (default : plughw:0,0) you have to know what to doalsaoutput=
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -