table of contents
| MIX_UntagTrack(3) | SDL_mixer3 FUNCTIONS | MIX_UntagTrack(3) |
NAME¶
MIX_UntagTrack - Remove an arbitrary tag from a track.
SYNOPSIS¶
#include <SDL3_mixer/SDL_mixer.h>
void MIX_UntagTrack(MIX_Track *track, const char *tag);
DESCRIPTION¶
A tag can be any valid C string in UTF-8 encoding. It can be useful to group tracks in various ways. For example, everything in-game might be marked as "game", so when the user brings up the settings menu, the app can pause all tracks involved in gameplay at once, but keep background music and menu sound effects running.
It's legal to remove a tag that the track doesn't have; this function doesn't report errors, so this simply does nothing.
Specifying a NULL tag will remove all tags on a track.
FUNCTION PARAMETERS¶
THREAD SAFETY¶
It is safe to call this function from any thread.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0.
SEE ALSO¶
| SDL_mixer 3.2.0 | SDL_mixer |