[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 53 sbcbitpool=32 # flags that will later be combinable # 1: display bandwith each seconds. # 3: current state flags=0 # Recommended enablereversestereo=1 # Automatically connect to selected headset if a stream if started # not recommended if running on battery ;) enableautoconnect=1 # Automatically disconnect after a timeout (seconds) timeout=20 # # AVRCP Commands to run # If these entries are emptied, then some keyboard entry will be sent to /dev/uinput # cmdplay=xmms --play cmdpause=xmms --pause cmdprev=xmms --rew cmdnext=xmms --fwd cmdnew=xmms --play cmdstop=xmms --stop #cmdplay=dcop amarok player play #cmdpause=dcop amarok player pause #cmdprev=dcop amarok player prev #cmdnext=dcop amarok player next #cmdnew=dcop amarok player play #cmdstop=dcop amarok player 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 second # This is now deprecated and should not be used, moreover, if the address is changed using dbus # or a2dpd_ctl, then the file is reread and the change is lost... enablerereadconfig=0 # Display debug traces or not enabledebug=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 instead enablestdin=0 # 0 => Bluetooth A2DP Sink # 1 => Alsa enableredirectalsa=0 # Your bluetooth headset address #address=00:0A:94:02:7D:A0 # Stick address=00:0A:94:A0:59:3B # Address of your alsa output (default : plughw:0,0) you have to know what to do alsaoutput=