Stuttering bluetooth speakers on Apple Mac?

After upgrading to El Capitan we would found that our lovely Wharfedale bluetooth speakers started stuttering after working with no issues on Mountain Lion. Apparently it’s an issue with the BluetoothAudioAgent. Typing the following command defaults write “Apple Bitpool Min (editable)” -int 40 into Terminal seems to have fixed the problem!