Skip to content

Instantly share code, notes, and snippets.

@strathmeyer
Created February 19, 2013 21:31
Show Gist options
  • Save strathmeyer/4990173 to your computer and use it in GitHub Desktop.
Save strathmeyer/4990173 to your computer and use it in GitHub Desktop.
Improve OSX Bluetooth quality
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 48
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 40
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 48
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 53
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 48
defaults write com.apple.BluetoothAudioAgent "Stream - Flush Ring on Packet Drop (editable)" 30
defaults write com.apple.BluetoothAudioAgent "Stream - Max Outstanding Packets (editable)" 15
defaults write com.apple.BluetoothAudioAgent "Stream Resume Delay" "0.75"
@strathmeyer
Copy link
Author

My wonderful, cheap, but technically crappy Samsung SBH600 headphones couldn't handle this. The follow settings worked there:

defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 64
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 30
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 30
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 30
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 32
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 30
defaults write com.apple.BluetoothAudioAgent "Stream - Flush Ring on Packet Drop (editable)" 0
defaults write com.apple.BluetoothAudioAgent "Stream - Max Outstanding Packets (editable)" 30
defaults write com.apple.BluetoothAudioAgent "Stream Resume Delay" "0.75"

@josmithiii
Copy link

This made no difference for me. I have the latest MacBook Pro and an LG HBS730. The sound over bluetooth from my iPhone 4S is great, but from my MacBook Pro it is on par with a bad cell-phone connection (mono, wavering), and the above defaults writes seemed to not change it at all, even after rebooting everything.

@joshuaquek
Copy link

You can try setting the codec to AAC lossless using the Bluetooth Explorer App on Mac. It's downloadable from Apple.com

@xpavli44
Copy link

bluetooth audio settings optimized for iTeknic IK-BH002

defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 64
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 35
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 37
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 37
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 37
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 37
defaults write com.apple.BluetoothAudioAgent "Stream - Flush Ring on Packet Drop (editable)" 0
defaults write com.apple.BluetoothAudioAgent "Stream - Max Outstanding Packets (editable)" 30
defaults write com.apple.BluetoothAudioAgent "Stream Resume Delay" "0.75"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment