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 have an html button, which I've added to the stage. When I click it to create and play an AudioElement, it works on most devices and systems without a hitch. However, I've noticed on certain iPads, the .play() is delayed significantly (sometimes up to 20 seconds before the audio starts playing). I've narrowed the culprit down to the stage option antialias = true.
The device in question is iPad model MD512LL/A, running v10.3.2. Removing antialias = true fixes this issue.
Can you think of any reason why this option would affect audio playback on these devices?
Here's the code; I tried to simplify it as much as possible.
I have an html button, which I've added to the stage. When I click it to create and play an AudioElement, it works on most devices and systems without a hitch. However, I've noticed on certain iPads, the .play() is delayed significantly (sometimes up to 20 seconds before the audio starts playing). I've narrowed the culprit down to the stage option
antialias = true
.The device in question is iPad model MD512LL/A, running v10.3.2.
Removing
antialias = true
fixes this issue.Can you think of any reason why this option would affect audio playback on these devices?
Here's the code; I tried to simplify it as much as possible.
index.html
main.dart
The text was updated successfully, but these errors were encountered: