Dual sink/output to both i2S and fft #359
-
I build a fft audio visualizer to display the freq bins using this example I also can output the BT audio to a pcm5102 dac decoder via i2S. ( bt_music_receiver_simple ) The question is , how can I have the music output to BOTH ffp and i2s cos now the audio visualizer , I can't hear any music... Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
There are 2 obvious solutions:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply...
Can u explain more on this part "just change the flag when you register the callback" Do you have an example code for this ? I found this callback example... |
Beta Was this translation helpful? Give feedback.
-
Thanks, issue solved .... a2dp_sink.set_stream_reader(writeDataStream, true); |
Beta Was this translation helpful? Give feedback.
There are 2 obvious solutions: