Hi
I have created a module in HAL layer for hfp & have modified the audio policy to go to hfp in HAL.
Everythings working smothly except , We have integrated an application(SmartEar
Mac Tools - SmartEAR 3 - Android Apps on Google Play
)with our tool which records the data through Bluetooth & writes the recorded data that in audio out (headphone ) at the same time which is like a real-time noise detection .
The recording part of the application works fine , But when we connect headphone we are not able to hear any
noise recorded from Bluetooth.
What all changes has to be done in HAL to overcome this problem
I am attaching the files for what all changes we have done in HAL to support HFP
Regards
Himanshu
Hi Himanshu
may be useful to check
[PATCH 1/6] android/ipc: Add command to enable HFP in handsfree HAL — Linux Bluetooth
Audio Implementation | Android Open Source Project
and post it on general android forums
Best regards
igor