Scroll to navigation

Mix_EffectDone_t(3type) SDL_mixer3 DATATYPES Mix_EffectDone_t(3type)

NAME

Mix_EffectDone_t - This is a callback that signifies that a channel has finished all its loops and has completed playback.

HEADER FILE

Defined in SDL3_mixer/SDL_mixer.h

SYNOPSIS

#include "SDL3_mixer/SDL_mixer.h"
typedef void (SDLCALL *Mix_EffectDone_t)(int chan, void *udata);

DESCRIPTION

This gets called if the buffer plays out normally, or if you call

Mix_HaltChannel (), implicitly stop a channel via

Mix_AllocateChannels (), or unregister a callback while it's still playing.

SDL_mixer 3.0.0 SDL_mixer