orottier/web-audio-api-rs

android context was not initializedBacktrace []

Larpoux opened this issue · 2 comments

  • 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 ?

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?

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.