MIX_Group.3type - Man Page

An opaque object that represents a grouping of tracks.

Synopsis

#include <SDL3_mixer/SDL_mixer.h>

typedef struct MIX_Group MIX_Group;

Description

SDL_mixer offers callbacks at various stages of the mixing pipeline to allow apps to view and manipulate data as it is transformed. Sometimes it is useful to hook in at a point where several tracks--but not all tracks-- have been mixed. For example, when a game is in some options menu, perhaps adjusting game audio but not UI sounds could be useful.

SDL_mixer allows you to assign several tracks to a group, and receive a callback when that group has finished mixing, with a buffer of just that group's mixed audio, before it mixes into the final output.

Availability

This datatype is available since SDL_mixer 3.0.0.

Info

SDL_mixer 3.2.4 SDL_mixer3 DATATYPES