MIX_GetMixerProperties - Man Page

Get the properties associated with a mixer.

Synopsis

#include <SDL3_mixer/SDL_mixer.h>

SDL_PropertiesID MIX_GetMixerProperties(MIX_Mixer *mixer);

Description

The following read-only properties are provided by SDL_mixer:

· MIX_PROP_MIXER_DEVICE_NUMBER: the SDL_AudioDeviceID that this mixer has opened for playback. This will be zero (no device) if the mixer was created with Mix_CreateMixer() instead of Mix_CreateMixerDevice().

Function Parameters

mixer

the mixer 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