MIX_GetTrackProperties - Man Page

Get the properties associated with a track.

Synopsis

#include <SDL3_mixer/SDL_mixer.h>

SDL_PropertiesID MIX_GetTrackProperties(MIX_Track *track);

Description

Currently SDL_mixer assigns no properties of its own to a track, but this can be a convenient place to store app-specific data.

A SDL_PropertiesID is created the first time this function is called for a given track.

Function Parameters

track

the track to query.

Return Value

Returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL_mixer 3.0.0.

Info

SDL_mixer 3.2.4 SDL_mixer3 FUNCTIONS