-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bugs in Sample::play
#7408
Fix bugs in Sample::play
#7408
Conversation
Wont occur unless something really bad happens for some reason, so an assert is used.
@sakertooth is there a way i can obtain a build or do i have to build it myself |
Apologies, there was an error with the build. It should be here. |
I edited the message to provide a proper link to the build. It should be up there now. |
It didn't fix anything. I'll try your new commit once it's built. Would it be the same URL? |
It didn't? I'm not sure then. Still a good PR to merge I guess, but I'm surprised it fixed nothing. And yeah, the latest builds should always be at that link. |
latest build has the same behaviour |
Closing in favor of the revert at #7410. It should be fixed there. |
I missed an edge case in #7361.
src_callback_read
returns the number of frames generated or zero. That means that it is not necessarily the case thatsrc_callback_read
will return the number of frames requested all the time. Also checked for a potential error (that really shouldn't ever happen) on calls tosrc_set_ratio
with anassert
.Fixes #7400 (I think?)
Fixes #7395 (I think?)