MIX_Mixer.3type - Man Page

An opaque object that represents a mixer.

Synopsis

#include <SDL3_mixer/SDL_mixer.h>

typedef struct MIX_Mixer MIX_Mixer;

Description

The MIX_Mixer is the toplevel object for this library. To use SDL_mixer, you must have at least one, but are allowed to have several. Each mixer is responsible for generating a single output stream of mixed audio, usually to an audio device for realtime playback.

Mixers are either created to feed an audio device (through MIX_CreateMixerDevice()), or to generate audio to a buffer in memory, where it can be used for anything (through MIX_CreateMixer()).

Availability

This datatype is available since SDL_mixer 3.0.0.

Info

SDL_mixer 3.2.4 SDL_mixer3 DATATYPES