SDL Wiki
(This function is part of SDL_mixer, a separate library from SDL.)

Mix_FadingChannel

Query the fading status of a channel.

Header File

Defined in <SDL_mixer.h>

Syntax

Mix_Fading Mix_FadingChannel(int which);

Function Parameters

int which the channel to query.

Return Value

(Mix_Fading) Returns the current fading status of the channel.

Remarks

This reports one of three values:

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.

Version

This function is available since SDL_mixer 2.0.0.


CategoryAPI, CategoryAPIFunction


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.