SDL_mixer API

The sdl.mixer module exposes the SDL_mixer API without the Mix_ prefix.

See also http://www.libsdl.org/projects/SDL_mixer/

sdl.mixer.setPanning(channel, left, right)

int Mix_SetPanning(int, uint8_t, uint8_t)

sdl.mixer.groupOldest(tag)

int Mix_GroupOldest(int)

sdl.mixer.pause(channel)

void Mix_Pause(int)

sdl.mixer.closeAudio()

void Mix_CloseAudio(void)

sdl.mixer.groupChannel(which, tag)

int Mix_GroupChannel(int, int)

sdl.mixer.querySpec(frequency=None, format=None, channels=None)

int Mix_QuerySpec(int *, uint16_t *, int *)

sdl.mixer.channelFinished(channel_finished)

void Mix_ChannelFinished(void Mix_ChannelFinished(int))

sdl.mixer.reserveChannels(num)

int Mix_ReserveChannels(int)

sdl.mixer.playChannelTimed(channel, chunk, loops, ticks)

int Mix_PlayChannelTimed(int, Mix_Chunk *, int, int)

sdl.mixer.setDistance(channel, distance)

int Mix_SetDistance(int, uint8_t)

sdl.mixer.groupChannels(from_, to, tag)

int Mix_GroupChannels(int, int, int)

sdl.mixer.fadeInChannel(channel, chunk, loops, ms)
sdl.mixer.hookMusic(mix_func, arg)

void Mix_HookMusic(void Mix_HookMusic(void *, uint8_t *, int), void *)

sdl.mixer.setReverseStereo(channel, flip)

int Mix_SetReverseStereo(int, int)

sdl.mixer.Chunk

alias of Mix_Chunk

sdl.mixer.freeMusic(music)

void Mix_FreeMusic(Mix_Music *)

sdl.mixer.fadeOutChannel(which, ms)

int Mix_FadeOutChannel(int, int)

sdl.mixer.getSoundFonts()

char const * Mix_GetSoundFonts(void)

sdl.mixer.fadeOutMusic(ms)

int Mix_FadeOutMusic(int)

sdl.mixer.setMusicPosition(position)

int Mix_SetMusicPosition(double)

sdl.mixer.fadeInMusicPos(music, loops, ms, position)

int Mix_FadeInMusicPos(Mix_Music *, int, int, double)

sdl.mixer.setMusicCMD(command)

int Mix_SetMusicCMD(char const *)

sdl.mixer.registerEffect(chan, f, d, arg)

int Mix_RegisterEffect(int, void Mix_RegisterEffect(int, void *, int, void *), void Mix_RegisterEffect(int, void *), void *)

sdl.mixer.getChunk(channel)

Mix_Chunk * Mix_GetChunk(int)

sdl.mixer.haltGroup(tag)

int Mix_HaltGroup(int)

sdl.mixer.getMusicDecoder(index)

char const * Mix_GetMusicDecoder(int)

sdl.mixer.playMusic(music, loops)

int Mix_PlayMusic(Mix_Music *, int)

sdl.mixer.allocateChannels(numchans)

int Mix_AllocateChannels(int)

sdl.mixer.resume(channel)

void Mix_Resume(int)

sdl.mixer.pauseMusic()

void Mix_PauseMusic(void)

sdl.mixer.unregisterAllEffects(channel)

int Mix_UnregisterAllEffects(int)

sdl.mixer.expireChannel(channel, ticks)

int Mix_ExpireChannel(int, int)

sdl.mixer.setSoundFonts(paths)

int Mix_SetSoundFonts(char const *)

sdl.mixer.setPosition(channel, angle, distance)

int Mix_SetPosition(int, int16_t, uint8_t)

sdl.mixer.getSynchroValue()

int Mix_GetSynchroValue(void)

sdl.mixer.quickLoad_RAW(mem, len)

Mix_Chunk * Mix_QuickLoad_RAW(uint8_t *, uint32_t)

sdl.mixer.loadWAV(file)
sdl.mixer.linked_Version()

SDL_version const * Mix_Linked_Version(void)

sdl.mixer.getNumChunkDecoders()

int Mix_GetNumChunkDecoders(void)

sdl.mixer.eachSoundFont(function, data)

int Mix_EachSoundFont(int Mix_EachSoundFont(char const *, void *), void *)

sdl.mixer.fadeInChannelTimed(channel, chunk, loops, ms, ticks)

int Mix_FadeInChannelTimed(int, Mix_Chunk *, int, int, int)

sdl.mixer.Music

alias of Mix_Music

sdl.mixer.fadingChannel(which)

Mix_Fading Mix_FadingChannel(int)

sdl.mixer.setPostMix(mix_func, arg)

void Mix_SetPostMix(void Mix_SetPostMix(void *, uint8_t *, int), void *)

sdl.mixer.loadMUS_RW(src, freesrc)

Mix_Music * Mix_LoadMUS_RW(SDL_RWops *, int)

sdl.mixer.quit()

void Mix_Quit(void)

sdl.mixer.hookMusicFinished(music_finished)

void Mix_HookMusicFinished(void Mix_HookMusicFinished(void))

sdl.mixer.resumeMusic()

void Mix_ResumeMusic(void)

sdl.mixer.volume(channel, volume)

int Mix_Volume(int, int)

sdl.mixer.rewindMusic()

void Mix_RewindMusic(void)

sdl.mixer.groupAvailable(tag)

int Mix_GroupAvailable(int)

sdl.mixer.volumeMusic(volume)

int Mix_VolumeMusic(int)

sdl.mixer.init(flags)

int Mix_Init(int)

sdl.mixer.unregisterEffect(channel, f)

int Mix_UnregisterEffect(int, void Mix_UnregisterEffect(int, void *, int, void *))

sdl.mixer.quickLoad_WAV(mem=None)

Mix_Chunk * Mix_QuickLoad_WAV(uint8_t *)

sdl.mixer.getMusicType(music)

Mix_MusicType Mix_GetMusicType(Mix_Music const *)

sdl.mixer.groupNewer(tag)

int Mix_GroupNewer(int)

sdl.mixer.paused(channel)

int Mix_Paused(int)

sdl.mixer.fadeOutGroup(tag, ms)

int Mix_FadeOutGroup(int, int)

sdl.mixer.haltChannel(channel)

int Mix_HaltChannel(int)

sdl.mixer.pausedMusic()

int Mix_PausedMusic(void)

sdl.mixer.fadingMusic()

Mix_Fading Mix_FadingMusic(void)

sdl.mixer.playingMusic()

int Mix_PlayingMusic(void)

sdl.mixer.freeChunk(chunk)

void Mix_FreeChunk(Mix_Chunk *)

sdl.mixer.haltMusic()

int Mix_HaltMusic(void)

sdl.mixer.groupCount(tag)

int Mix_GroupCount(int)

sdl.mixer.setSynchroValue(value)

int Mix_SetSynchroValue(int)

sdl.mixer.openAudio(frequency, format, channels, chunksize)

int Mix_OpenAudio(int, uint16_t, int, int)

sdl.mixer.loadMUSType_RW(src, type, freesrc)

Mix_Music * Mix_LoadMUSType_RW(SDL_RWops *, Mix_MusicType, int)

sdl.mixer.loadMUS(file)

Mix_Music * Mix_LoadMUS(char const *)

sdl.mixer.fadeInMusic(music, loops, ms)

int Mix_FadeInMusic(Mix_Music *, int, int)

sdl.mixer.loadWAV_RW(src, freesrc)

Mix_Chunk * Mix_LoadWAV_RW(SDL_RWops *, int)

sdl.mixer.playChannel(channel, chunk, loops)
sdl.mixer.volumeChunk(chunk, volume)

int Mix_VolumeChunk(Mix_Chunk *, int)

sdl.mixer.getMusicHookData()

void * Mix_GetMusicHookData(void)

sdl.mixer.getNumMusicDecoders()

int Mix_GetNumMusicDecoders(void)

sdl.mixer.playing(channel)

int Mix_Playing(int)

sdl.mixer.getChunkDecoder(index)

char const * Mix_GetChunkDecoder(int)

Previous topic

SDL_image API

Next topic

SDL_ttf API

This Page