Closed APGR22 closed 3 months ago
Sorry for my bad english.
I have noticed on https://wiki.libsdl.org/SDL2_mixer/Mix_HaltChannel and https://wiki.libsdl.org/SDL3_mixer/Mix_HaltChannel say "Returns 0 on success, or -1 on error.", but in SDL2/src/mixer.c and SDL3/src/mixer.c are only return 0 without any error code.
We may add error return cases in the future, so we'll leave this as-is.
Thanks!
Sorry for my bad english.
I have noticed on https://wiki.libsdl.org/SDL2_mixer/Mix_HaltChannel and https://wiki.libsdl.org/SDL3_mixer/Mix_HaltChannel say "Returns 0 on success, or -1 on error.", but in SDL2/src/mixer.c and SDL3/src/mixer.c are only return 0 without any error code.