esp-adf icon indicating copy to clipboard operation
esp-adf copied to clipboard

pipeline_bt_sink Can I control the volume? (AUD-5663)

Open hyzgit opened this issue 1 year ago • 2 comments

pipeline_a2dp_sink_stream works, but it does not support getting song information such as lyrics.

hyzgit avatar Sep 03 '24 00:09 hyzgit

Create input_key_service is an effective way to solve it, please refer
https://github.com/espressif/esp-adf/blob/e27cd5262986dbf93785d44fb71dfa854b8e9763/examples/player/pipeline_sdcard_mp3_control/main/play_sdcard_mp3_control_example.c#L143 https://github.com/espressif/esp-adf/blob/e27cd5262986dbf93785d44fb71dfa854b8e9763/examples/player/pipeline_sdcard_mp3_control/main/play_sdcard_mp3_control_example.c#L42

hbler99 avatar Sep 03 '24 03:09 hbler99

Create input_key_service is an effective way to solve it, please refer

https://github.com/espressif/esp-adf/blob/e27cd5262986dbf93785d44fb71dfa854b8e9763/examples/player/pipeline_sdcard_mp3_control/main/play_sdcard_mp3_control_example.c#L143

https://github.com/espressif/esp-adf/blob/e27cd5262986dbf93785d44fb71dfa854b8e9763/examples/player/pipeline_sdcard_mp3_control/main/play_sdcard_mp3_control_example.c#L42

This can only adjust the volume of the local decoding chip, and cannot control the volume of the Bluetooth audio source (such as a mobile phone)

hyzgit avatar Sep 03 '24 15:09 hyzgit