capacitor-community / native-audio

MIT License
109 stars 66 forks source link

preloadSimple is not a function #53

Closed MaherFa closed 2 years ago

MaherFa commented 2 years ago

Describe the bug preloadSimple is not a function, and preload fails to play very short audio files in quick succession. it stutters and delayed with some wired effects

Expected behavior playing audio with no to little latency

Smartphone:

Additional context docs are partially out of date? or wrong as they show that preloadSimple and preloadComplex are supported but only preload is there. I used to use native audio with Cordova and use preloadSimple to load a 'ticking' audio that's played very fast in some situations with acceptable results now that I migrated to capacitor I faced this issue, do I have to revert to using Cordova plugin?

MaherFa commented 2 years ago

docs have been fixed, this leaves the issue of irregular playback of short clips at a high rate. this used to be better with preloadSimple and cordova plugin. however i'm closing this issue since the problem is on older devices. thanks