Fix a typo.

This commit is contained in:
David Reid
2026-01-06 10:11:16 +10:00
parent 35acd7a65b
commit 3b4e87848b
+1 -1
View File
@@ -76498,7 +76498,7 @@ static void ma_sound_set_at_end(ma_sound* pSound, ma_bool32 atEnd)
/*
When this function is called the state of the sound will not yet be in a stopped state. This makes it confusing
because an end callback will intuitively expect ma_sound_is_started() to return false from inside the callback.
because an end callback will intuitively expect ma_sound_is_playing() to return false from inside the callback.
I'm therefore no longer firing the callback here and will instead fire it manually in the *next* processing step
when the state should be set to stopped as expected.
*/