Alternating Sound Output for AnalogAudioStream Using GeneratedSoundStream<int16_t> and AudioPlayer #1608
-
I want to alternate the output sound for a single AnalogAudioStream using objects of GeneratedSoundStream<int16_t> and AudioPlayer. Can you provide an example or reference that could help me achieve this? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
pschatzmann
Jun 27, 2024
Replies: 1 comment
-
If you are not able to figure this out yourself, maybe this is not the right tool for you! The solution is just trivial: just set up both output chains both outputting to the same AnalogAudioStream and depending on the case you call the corresponding copy function. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pschatzmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are not able to figure this out yourself, maybe this is not the right tool for you!
The solution is just trivial: just set up both output chains both outputting to the same AnalogAudioStream and depending on the case you call the corresponding copy function.