android context was not initializedBacktrace []
Larpoux opened this issue · 2 comments
Larpoux commented
- When I use web-audio-api-rs on iOS, everything good.
- When I use it on Android I get immediately this error :
android context was not initializedBacktrace []
I don't know if it is a problem with web-audio-api-rs, with cpal or with oboe
Please help : do I need to do something to initialize web-audio-api-rs for android ?
orottier commented
Thanks for flagging. I have no experience running this on Android myself so I don't think I can be of much help.
Perhaps you can try to run some of the cpal examples on Android and see if that gives the same issue?
Larpoux commented
I found some informations on this issue:
RustAudio/cpal#720
It seems that it is an issue with CPAL, or perhaps Oboe.
He/she gives a solution to turn around the problem.