I have a bluetooth headphones that can be used in both A2DP and in SCO mode. Under Windows, I can activate both profiles simultaneously and I can listen to high quality music but when Skype rings, I can answer it right away.
Although I can use those headphones in Ubuntu, I have to connect them in either A2DP or SCO mode but not both and can't find a way to switch the mode on the fly which driving me insane. I can either listen to the music or I can use Skype and there's no procedure which will take under a minute to switch a profile.
Am I missing something there? Is there a way to use my headphones in Ubuntu like I do so in Windows or at least switch those profiles in the mid air without crashing music player and, more importantly, Skype?
Have you tried using PulseAudio? If you use the 'module-bluetooth-device' module, it allows switching modes on the fly either with pactl (a command line utility) or pavucontrol (a volume control/mixer app). The line to put in your config or to pass to pactl (for A2DP) is:
Then you can use:
to set them to SCO mode. However, pavucontrol has a much nicer interface, where you use a pulldown menu. It works wonderfully for me, and you can use the 'module-combine' module to make sound output go to both your speakers and your headphones. Also, it might be possible to load the module-bluetooth-device module twice, once with each profile, but I haven't tried that.
It might not be elegant but you can try adding a "voice" and an "audio" profile in your ~/.asoundrc file, but I think switching between the two would require you to restart the bluetooth service.
Might try to script it and put a shortcut somewhere convenient.