Assuming I am using an A2DP-compatible bluetooth headset and that the headset is properly paired and connected, how can I record to an audio file using the bluetooth headset as the source?
In this case, when there isn't a Bluetooth headset, I record from the microphone to an M4A file containing AAC data with a sample rate of 44100 and a bit rate of 160,000, then proceed to manipulate the audio data--changing the format is not an option.
I have read How to record sound using bluetooth headset and tried the approach indicated--but cannot get it to work.