Objective is to attend the call via BT paired devices using HFP
Steps done:
a. The softwares used are
-pulseaudio-4.99.2
-Bluez-5.14
-ofono-1.14
b. The above mentioned application were started and then using bluetoothctl methods, I've paired and connected the mobile to the Ubuntu PC.
c. Call was made to the mobile. After the call was attended, I was trying to hear the audio via the headset connected to the ubuntu PC. But there was no audio heard.
d. I've tried to list the bluez sink and sources using the below command :
pactl list short sources | grep bluez_source
pactl list short sinks | grep -v Monitor | grep alsa_output.pci
e. Then loopback the devices using the below command
pactl load-module module-loopback source=[BTSOURCE] sink=[SINK]
f. I've also edited /etc/bluetooth/audio.conf to enable
[General]
Enable=Gateway,Source,Socket,Sink,Media,Headset
Please help me if I've missed something. Is there anything to be modified in the daemon.conf file ?
I'm also getting these logs in pulseAudio
D: [pulseaudio] module-loopback.c: Loopback overall latency is 43.55 ms + 335.02 ms + 26.97 ms = 405.54 ms
D: [pulseaudio] module-loopback.c: Should buffer 2112 bytes, buffered at minimum 3346 bytes
I: [pulseaudio] module-loopback.c: New rate of 8061 Hz not within 2‰ of 7919 Hz, forcing smaller adjustment
D: [pulseaudio] module-loopback.c: [alsa_output.pci-0000_00_1b.0.analog-stereo] Updated sampling rate to 7934 Hz.
D: [pulseaudio] module-loopback.c: Loopback overall latency is 0.00 ms + 19584.88 ms + 0.00 ms = 19584.88 ms
D: [pulseaudio] module-loopback.c: Should buffer 96 bytes, buffered at minimum 154078 bytes
W: [pulseaudio] module-loopback.c: Sample rates too different, not adjusting (8000 vs. 15699).
D: [pulseaudio] module-loopback.c: [bluez_sink.4C_21_D0_3A_29_04] Updated sampling rate to 8000 Hz.
D: [bluetooth] ratelimit.c: 134 events suppressed
D: [bluetooth] memblock.c: Pool full
D: [alsa-sink-ALC892 Analog] memblock.c: Pool full
D: [bluetooth] memblock.c: Pool full
============================================================================
Please help me !!!