You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think RNAPI needs to be more thread safe, for example,
Things like AudioParam.eventsQueue_ can be accessed on both JS thread and Audio thread,
so changing param value while playing audio might cause crash.
(Correct me if I'm wrong)
The text was updated successfully, but these errors were encountered:
@maciejmakowski2003 I'm not sure but this could the reason our app crash in the release mode. I ported over our api from expo-av to react-native-audio-api and everything works seemlessly in the debug app but when I test it on the release app, it insta crashes as soon as I call AudioContext.decodeAudioDataSource(file). I tried to replicate the issue in a fresh project but it worked fine there. I really appreciate any help here
Feature Request
I think RNAPI needs to be more thread safe, for example,
Things like
AudioParam.eventsQueue_
can be accessed on both JS thread and Audio thread,so changing param value while playing audio might cause crash.
(Correct me if I'm wrong)
The text was updated successfully, but these errors were encountered: