Skip to content

Instantly share code, notes, and snippets.

@karb0f0s
Forked from marnovo/enable_aptx_aac_macos.sh
Created June 18, 2019 15:44
Show Gist options
  • Save karb0f0s/1b047f112b7772af3db75590fc20fe20 to your computer and use it in GitHub Desktop.
Save karb0f0s/1b047f112b7772af3db75590fc20fe20 to your computer and use it in GitHub Desktop.
Enable AptX and AAC codecs on macOS
# (c) 2018 Marcelo Novaes
# License - MIT
# Enable AptX and AAC codecs on bluetooth connections on macOS
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
sudo defaults write bluetoothaudiod "Enable AAC code" -bool true
# Reads set values, should return something like:
# {
# "Enable AAC code" = 1;
# "Enable AptX codec" = 1;
# }
sudo defaults read bluetoothaudiod
# You should be able to check it by connecting a compatible bluetooth device, playing some
# compatible music and then holding Option (Alt) and clicking on the Bluetooth menu bar icon.
# This should show you inside the connected device menu item Active Codec: AptX (or AAC)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment