Modules§
- constants
- Generated constants
Structs§
- MIX_
Audio - MIX_
Audio Decoder - MIX_
Group - MIX_
Mixer - MIX_
Point3D - 3D coordinates for MIX_SetTrack3DPosition.
- MIX_
Stereo Gains - A set of per-channel gains for tracks using MIX_SetTrackStereo().
- MIX_
Track
Constants§
- MIX_
DURATION_ INFINITE - MIX_
DURATION_ UNKNOWN - MIX_
PROP_ AUDIO_ DECODER_ STRING - MIX_
PROP_ AUDIO_ LOAD_ CLOSEIO_ BOOLEAN - MIX_
PROP_ AUDIO_ LOAD_ IOSTREAM_ POINTER - MIX_
PROP_ AUDIO_ LOAD_ PREDECODE_ BOOLEAN - MIX_
PROP_ AUDIO_ LOAD_ PREFERRED_ MIXER_ POINTER - MIX_
PROP_ AUDIO_ LOAD_ SKIP_ METADATA_ TAGS_ BOOLEAN - MIX_
PROP_ METADATA_ ALBUM_ STRING - MIX_
PROP_ METADATA_ ARTIST_ STRING - MIX_
PROP_ METADATA_ COPYRIGHT_ STRING - MIX_
PROP_ METADATA_ DURATION_ FRAMES_ NUMBER - MIX_
PROP_ METADATA_ DURATION_ INFINITE_ BOOLEAN - MIX_
PROP_ METADATA_ TITLE_ STRING - MIX_
PROP_ METADATA_ TOTAL_ TRACKS_ NUMBER - MIX_
PROP_ METADATA_ TRACK_ NUMBER - MIX_
PROP_ METADATA_ YEAR_ NUMBER - MIX_
PROP_ MIXER_ DEVICE_ NUMBER - MIX_
PROP_ PLAY_ APPEND_ SILENCE_ FRAMES_ NUMBER - MIX_
PROP_ PLAY_ APPEND_ SILENCE_ MILLISECONDS_ NUMBER - MIX_
PROP_ PLAY_ FADE_ IN_ FRAMES_ NUMBER - MIX_
PROP_ PLAY_ FADE_ IN_ MILLISECONDS_ NUMBER - MIX_
PROP_ PLAY_ FADE_ IN_ START_ GAIN_ FLOAT - MIX_
PROP_ PLAY_ HALT_ WHEN_ EXHAUSTED_ BOOLEAN - MIX_
PROP_ PLAY_ LOOPS_ NUMBER - MIX_
PROP_ PLAY_ LOOP_ START_ FRAME_ NUMBER - MIX_
PROP_ PLAY_ LOOP_ START_ MILLISECOND_ NUMBER - MIX_
PROP_ PLAY_ MAX_ FRAME_ NUMBER - MIX_
PROP_ PLAY_ MAX_ MILLISECONDS_ NUMBER - MIX_
PROP_ PLAY_ START_ FRAME_ NUMBER - MIX_
PROP_ PLAY_ START_ MILLISECOND_ NUMBER - MIX_
PROP_ PLAY_ START_ ORDER_ NUMBER - SDL_
MIXER_ MAJOR_ VERSION - SDL_
MIXER_ MICRO_ VERSION - SDL_
MIXER_ MINOR_ VERSION
Functions§
- MIX_
Audio ⚠Frames ToMS - Convert sample frames for a MIX_Audio’s format to milliseconds.
- MIX_
AudioMS ⚠ToFrames - Convert milliseconds to sample frames for a MIX_Audio’s format.
- MIX_
Create ⚠Audio Decoder - Create a MIX_AudioDecoder from a path on the filesystem.
- MIX_
Create ⚠Audio Decoder_ IO - Create a MIX_AudioDecoder from an SDL_IOStream.
- MIX_
Create ⚠Group - Create a mixing group.
- MIX_
Create ⚠Mixer - Create a mixer that generates audio to a memory buffer.
- MIX_
Create ⚠Mixer Device - Create a mixer that plays sound directly to an audio device.
- MIX_
Create ⚠Sine Wave Audio - Create a MIX_Audio that generates a sinewave.
- MIX_
Create ⚠Track - Create a new track on a mixer.
- MIX_
Decode ⚠Audio - Decode more audio from a MIX_AudioDecoder.
- MIX_
Destroy ⚠Audio - Destroy the specified audio.
- MIX_
Destroy ⚠Audio Decoder - Destroy the specified audio decoder.
- MIX_
Destroy ⚠Group - Destroy a mixing group.
- MIX_
Destroy ⚠Mixer - Free a mixer.
- MIX_
Destroy ⚠Track - Destroy the specified track.
- MIX_
Frames ⚠ToMS - Convert sample frames, at a specific sample rate, to milliseconds.
- MIX_
Generate ⚠ - Generate mixer output when not driving an audio device.
- MIX_
GetAudio ⚠Decoder - Report the name of a specific audio decoders.
- MIX_
GetAudio ⚠Decoder Format - Query the initial audio format of a MIX_AudioDecoder.
- MIX_
GetAudio ⚠Decoder Properties - Get the properties associated with a MIX_AudioDecoder.
- MIX_
GetAudio ⚠Duration - Get the length of a MIX_Audio’s playback in sample frames.
- MIX_
GetAudio ⚠Format - Query the initial audio format of a MIX_Audio.
- MIX_
GetAudio ⚠Properties - Get the properties associated with a MIX_Audio.
- MIX_
GetGroup ⚠Mixer - Get the MIX_Mixer that owns a MIX_Group.
- MIX_
GetGroup ⚠Properties - Get the properties associated with a group.
- MIX_
GetMixer ⚠Format - Get the audio format a mixer is generating.
- MIX_
GetMixer ⚠Frequency Ratio - Get a mixer’s master frequency ratio.
- MIX_
GetMixer ⚠Gain - Get a mixer’s master gain control.
- MIX_
GetMixer ⚠Properties - Get the properties associated with a mixer.
- MIX_
GetNum ⚠Audio Decoders - Report the number of audio decoders available for use.
- MIX_
GetTagged ⚠Tracks - Get all tracks with a specific tag.
- MIX_
GetTrack3D ⚠Position - Get a track’s current position in 3D space.
- MIX_
GetTrack ⚠Audio - Query the MIX_Audio assigned to a track.
- MIX_
GetTrack ⚠Audio Stream - Query the SDL_AudioStream assigned to a track.
- MIX_
GetTrack ⚠Fade Frames - Query whether a given track is fading.
- MIX_
GetTrack ⚠Frequency Ratio - Query the frequency ratio of a track.
- MIX_
GetTrack ⚠Gain - Get a track’s gain control.
- MIX_
GetTrack ⚠Loops - Query how many loops remain for a given track.
- MIX_
GetTrack ⚠Mixer - Get the MIX_Mixer that owns a MIX_Track.
- MIX_
GetTrack ⚠Playback Position - Get the current input position of a playing track.
- MIX_
GetTrack ⚠Properties - Get the properties associated with a track.
- MIX_
GetTrack ⚠Remaining - Return the number of sample frames remaining to be mixed in a track.
- MIX_
GetTrack ⚠Tags - Get the tags currently associated with a track.
- MIX_
Init ⚠ - Initialize the SDL_mixer library.
- MIX_
Load ⚠Audio - Load audio for playback from a file.
- MIX_
Load ⚠Audio NoCopy - Load audio for playback from a memory buffer without making a copy.
- MIX_
Load ⚠Audio With Properties - Load audio for playback through a collection of properties.
- MIX_
Load ⚠Audio_ IO - Load audio for playback from an SDL_IOStream.
- MIX_
Load ⚠RawAudio - Load raw PCM data from a memory buffer.
- MIX_
Load ⚠RawAudio NoCopy - Load raw PCM data from a memory buffer without making a copy.
- MIX_
Load ⚠RawAudio_ IO - Load raw PCM data from an SDL_IOStream.
- MIX_
Lock ⚠Mixer - Lock a mixer by obtaining its internal mutex.
- MIX_
MSTo ⚠Frames - Convert milliseconds to sample frames at a specific sample rate.
- MIX_
Pause ⚠AllTracks - Pause all currently-playing tracks.
- MIX_
Pause ⚠Tag - Pause all tracks with a specific tag.
- MIX_
Pause ⚠Track - Pause a currently-playing track.
- MIX_
Play ⚠Audio - Play a MIX_Audio from start to finish without any management.
- MIX_
Play ⚠Tag - Start (or restart) mixing all tracks with a specific tag for playback.
- MIX_
Play ⚠Track - Start (or restart) mixing a track for playback.
- MIX_
Quit ⚠ - Deinitialize the SDL_mixer library.
- MIX_
Resume ⚠AllTracks - Resume all currently-paused tracks.
- MIX_
Resume ⚠Tag - Resume all tracks with a specific tag.
- MIX_
Resume ⚠Track - Resume a currently-paused track.
- MIX_
SetGroup ⚠Post MixCallback - Set a callback that fires when a mixer group has completed mixing.
- MIX_
SetMixer ⚠Frequency Ratio - Set a mixer’s master frequency ratio.
- MIX_
SetMixer ⚠Gain - Set a mixer’s master gain control.
- MIX_
SetPost ⚠MixCallback - Set a callback that fires when all mixing has completed.
- MIX_
SetTag ⚠Gain - Set the gain control of all tracks with a specific tag.
- MIX_
SetTrack3D ⚠Position - Set a track’s position in 3D space.
- MIX_
SetTrack ⚠Audio - Set a MIX_Track’s input to a MIX_Audio.
- MIX_
SetTrack ⚠Audio Stream - Set a MIX_Track’s input to an SDL_AudioStream.
- MIX_
SetTrack ⚠Cooked Callback - Set a callback that fires when the mixer has transformed a track’s audio.
- MIX_
SetTrack ⚠Frequency Ratio - Change the frequency ratio of a track.
- MIX_
SetTrack ⚠Gain - Set a track’s gain control.
- MIX_
SetTrack ⚠Group - Assign a track to a mixing group.
- MIX_
SetTrackIO ⚠Stream - Set a MIX_Track’s input to an SDL_IOStream.
- MIX_
SetTrack ⚠Loops - Change the number of times a currently-playing track will loop.
- MIX_
SetTrack ⚠Output Channel Map - Set the current output channel map of a track.
- MIX_
SetTrack ⚠Playback Position - Seek a playing track to a new position in its input.
- MIX_
SetTrack ⚠RawCallback - Set a callback that fires when a MIX_Track has initial decoded audio.
- MIX_
SetTrack ⚠RawIO Stream - Set a MIX_Track’s input to an SDL_IOStream providing raw PCM data.
- MIX_
SetTrack ⚠Stereo - Force a track to stereo output, with optionally left/right panning.
- MIX_
SetTrack ⚠Stopped Callback - Set a callback that fires when a MIX_Track is stopped.
- MIX_
Stop ⚠AllTracks - Halt all currently-playing tracks, possibly fading out over time.
- MIX_
Stop ⚠Tag - Halt all tracks with a specific tag, possibly fading out over time.
- MIX_
Stop ⚠Track - Halt a currently-playing track, possibly fading out over time.
- MIX_
TagTrack ⚠ - Assign an arbitrary tag to a track.
- MIX_
Track ⚠Frames ToMS - Convert sample frames for a track’s current format to milliseconds.
- MIX_
TrackMS ⚠ToFrames - Convert milliseconds to sample frames for a track’s current format.
- MIX_
Track ⚠Paused - Query if a track is currently paused.
- MIX_
Track ⚠Playing - Query if a track is currently playing.
- MIX_
Unlock ⚠Mixer - Unlock a mixer previously locked by a call to MIX_LockMixer().
- MIX_
Untag ⚠Track - Remove an arbitrary tag from a track.
- MIX_
Version ⚠ - Get the version of SDL_mixer that is linked against your program.
Type Aliases§
- MIX_
Group MixCallback - A callback that fires when a MIX_Group has completed mixing.
- MIX_
Post MixCallback - A callback that fires when all mixing has completed.
- MIX_
Track MixCallback - A callback that fires when a MIX_Track is mixing at various stages.
- MIX_
Track Stopped Callback - A callback that fires when a MIX_Track is stopped.