SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]
(This function is part of SDL_mixer, a separate library from SDL.)

MIX_Mixer

An opaque object that represents a mixer.

Header File

Defined in <SDL3_mixer/SDL_mixer.h>

Syntax

typedef struct MIX_Mixer MIX_Mixer;

Remarks

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()).

Version

This datatype is available since SDL_mixer 3.0.0.


CategoryAPI, CategoryAPIDatatype, CategorySDLMixer


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.