On 09.10.2016 20:38, Marco Trapanese wrote:
Hi!

I wonder how to select "on-the-fly" the audio input source for HFP calls.
My system is: Raspian Jessie Lite, BlueZ 5.40, pulseaudio 8.0, ofono 1.18 with an USB/BT dongle.

When I make or receive a call, I would like to select whether to use the local USB microphone or the smartphone one. Please, would you help me to understand how to achieve these settings?
You have to change the source of the corresponding loopback module.
Probably you have to load the module manually, that means loading
module-bluetooth-policy with hfgw=0.
You can find an example in the sources I sent you on 13th of May.
I am loading the loopback modules manually and also allow switching
of the input/output device during a call.
Take a look at pulsecontrol2.py (move_source_output_module(),
move_sink_input_module()) and the use of the functions in phoneconnector2.py.


Regards
             Georg
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to