Search found 5 matches

by hnt510
Wed May 26, 2021 4:09 pm
Forum: ESP-ADF
Topic: Pipeline and A2DP Sink Example
Replies: 2
Views: 7307

Re: Pipeline and A2DP Sink Example

I flash the demo a2dp hfp sink program as you do. In a2dp, I can hear the music without issues. However, when I switch to HFP, I can hear some clear popo noises, and the tone of the voice changed as well. I suppose it has something to do with the DAC, since during the swithing from A2DP to HFP, the ...
by hnt510
Wed May 26, 2021 3:55 pm
Forum: ESP-ADF
Topic: Receive data from a2dp and play over hfp
Replies: 1
Views: 13546

Re: Receive data from a2dp and play over hfp

HFP spec only support 8khz with cvsd codec, and 16khz with msbc, therefore it is very normal that you got a bad sound quality.
by hnt510
Wed May 26, 2021 3:36 pm
Forum: ESP-ADF 中文讨论版
Topic: pipeline_a2dp_sink_and_hfp工程在hfp模式下有杂音
Replies: 3
Views: 7925

Re: pipeline_a2dp_sink_and_hfp工程在hfp模式下有杂音

使用44.1k sbc a2dp进行播放时没有杂音问题。在播放过程中打电话将dac切到8k的时候就会有很明显的popo音。我的开发板是官方的ESP32_LyraT 4.3,请问这是开发板硬件问题(在别的开发板上可以复现改问题吗?),还是SDK本身的问题。尝试用16khz播放sco音频。将bta_hf_client_cb.msbc_enabled = TRUE; 打开msbc解码后,手机能够选择msbc解码会发送+BCS:2,但是软件会卡住,HFP会有timeout显示。当前git最新版本无法支持msbc解码?

附件为MSBC解码时的log
by hnt510
Wed May 26, 2021 3:27 pm
Forum: ESP-ADF 中文讨论版
Topic: pipeline_a2dp_sink_and_hfp工程在hfp模式下有杂音
Replies: 3
Views: 7925

Re: pipeline_a2dp_sink_and_hfp工程在hfp模式下有杂音

尝试切换到msbc解码发现当前git最新sdk完全无法使用msbc
by hnt510
Tue May 25, 2021 3:44 pm
Forum: ESP-ADF 中文讨论版
Topic: pipeline_a2dp_sink_and_hfp工程在hfp模式下有杂音
Replies: 3
Views: 7925

pipeline_a2dp_sink_and_hfp工程在hfp模式下有杂音

使用一块ESP32_LyraT 4.3开发板编译烧录esp-adf\examples\get-started\pipeline_a2dp_sink_and_hfp示例工程后发现在hfp模式下通话有杂音。

附件为LOG