How to best switch and share I2S between WebRadio and Bluetooth ? #1009
Replies: 1 comment 2 replies
-
"In the current setup, the audio library initializes I2S channel 0 for webradio streaming. For Bluetooth, I’d like the Bluetooth library to send its audio data to that same pre-initialized I2S channel instead of reinitializing or conflicting with it. My hope was that audio tools could output a pipeline that includes an I2S Manager which initializes the channel once at startup, while both the webradio and Bluetooth sources feed their audio data into a common function (like an i2s_write_data() callback). I could then switch between data sources dynamically. Is this approach feasible with the ESP32-audioI2S-master, ESP32-A2DP-main, and arduino-audio-tools-main libraries ? |
Beta Was this translation helpful? Give feedback.
-
Hi I am trying to merge the webradio and Bluetooth without a lot of success, both work fine independently but I am having trouble to
let them talk to the same I2S or switch I2S.
Any suggestions ?
Much appreciated, have a nice day. Brgds Ives.
Beta Was this translation helpful? Give feedback.
All reactions