mixFadingChannel function
Query the fading status of a channel.
This reports one of three values:
MIX_NO_FADING
MIX_FADING_OUT
MIX_FADING_IN
If nothing is currently playing on the channel, or an invalid channel is
specified, this returns MIX_NO_FADING
.
You may not specify MAX_CHANNEL_POST for a channel.
You may not specify -1 for all channels; only individual channels may be queried.
\param which the channel to query. \returns the current fading status of the channel.
\since This function is available since SDL_mixer 3.0.0.
extern SDL_DECLSPEC Mix_Fading SDLCALL Mix_FadingChannel(int which)
Implementation
int mixFadingChannel(int which) {
final mixFadingChannelLookupFunction = libSdl3Mixer.lookupFunction<
Int32 Function(Int32 which),
int Function(int which)>('Mix_FadingChannel');
return mixFadingChannelLookupFunction(which);
}