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
While testing on Android, I ran into an issue with calling build_output_stream. In my project, I use symphonia to decode audio files and cpal to produce sound. Every time I played a new file, I would call build_output_stream.
This would stop working after 40 calls of the method. This error is thrown.
I have created a workaround fix where I call build_output_stream only once. However, I am concerned with the StreamConfig changing between audio files. Is there anything that can be done in cpal to fix this issue?
I have created a project that reproduces this issue and I have included the workaround I made. You will need cargo-apk installed to run it.
The text was updated successfully, but these errors were encountered:
While testing on Android, I ran into an issue with calling
build_output_stream
. In my project, I use symphonia to decode audio files and cpal to produce sound. Every time I played a new file, I would callbuild_output_stream
.This would stop working after 40 calls of the method. This error is thrown.
I have created a workaround fix where I call
build_output_stream
only once. However, I am concerned with the StreamConfig changing between audio files. Is there anything that can be done in cpal to fix this issue?I have created a project that reproduces this issue and I have included the workaround I made. You will need cargo-apk installed to run it.
The text was updated successfully, but these errors were encountered: