[pulseaudio-discuss] HFP HF - Reject SCO Issue
georg at chini.tk
Tue Jun 7 10:55:33 UTC 2016
On 07.06.2016 12:11, Jomon John wrote:
>> * Same for HFP, nothing related to bluez_* in pactl or pacmd outputs. Again i can see the audio levels changing in pavucontrol (connected from external machine with PULSE_SERVER) but only one side audio is working which is from device side mic to other end. on the other side (calling phone to device) the levels are changing but seems to be not routed to the default sink (since the levels are not changing in the default sink)
>> Loaded "module-loopback" (index: #30; argument: "source="bluez_source.CC_C3_EA_0A_15_90" source_dont_move="true" sink_input_properties="media.role=phone"").
>> card.c: Changed profile of card 1 "bluez_card.CC_C3_EA_0A_15_90" to headset_audio_gateway
>> some more information regarding the setup,
>> * Everything is run as root user who is member of audio and pulse groups
>> * PA daemon is not in system mode
>> * ofono and bluez is available on dbus system bus but pulseaudio is on dbus session bus (is this the right way ??)
>> Is there only one loopback module? There should be two, one from the
>> bluez source to the default sink and
>> one from the default source to the bluez sink.
> You were right, as per the logs the module-loopback loaded two times,
> [pulseaudio] module.c: Loaded "module-loopback" (index: #41; argument: "sink="bluez_sink.CC_C3_EA_0A_15_90" sink_dont_move="true" source_output_properties="media.role=phone"")
> [pulseaudio] module.c: Loaded "module-loopback" (index: #42; argument: "source="bluez_source.CC_C3_EA_0A_15_90" source_dont_move="true" sink_input_properties="media.role=phone"").
> The audio from default source is channeled to phone but i cant hear any output audio from phone on the board while HFP session, so is there any way to control or verify the the source sink routing during the HFP session.
What does pacmd list-cards show? Is the bluez device listed there? Can
you check (with pavucontrol
or in the logs) if the loopback from the phone goes to the correct sink?
Do you see messages in the
pulseaudio debug log from both loopback modules?
More information about the pulseaudio-discuss