package vendor:sdl2/mixer
⌘K
Ctrl+K
or
/
Index
Types (10)
Constants (30)
- CHANNELS
- CHANNEL_POST
- DEFAULT_CHANNELS
- DEFAULT_FORMAT
- DEFAULT_FREQUENCY
- EFFECTSMAXSPEED
- FADING_IN
- FADING_OUT
- INIT_FLAC
- INIT_MID
- INIT_MOD
- INIT_MP3
- INIT_OGG
- INIT_OPUS
- MAJOR_VERSION
- MAX_VOLUME
- MINOR_VERSION
- MUS_CMD
- MUS_FLAC
- MUS_MID
- MUS_MOD
- MUS_MODPLUG_UNUSED
- MUS_MP3
- MUS_MP3_MAD_UNUSED
- MUS_NONE
- MUS_OGG
- MUS_OPUS
- MUS_WAV
- NO_FADING
- PATCHLEVEL
Variables (0)
This section is empty.
Procedures (93)
- AllocateChannels
- ChannelFinished
- CloseAudio
- EachSoundFont
- ExpireChannel
- FadeInChannel
- FadeInChannelTimed
- FadeInMusic
- FadeInMusicPos
- FadeOutChannel
- FadeOutGroup
- FadeOutMusic
- FadingChannel
- FadingMusic
- FreeChunk
- FreeMusic
- GetChunk
- GetChunkDecoder
- GetMusicAlbumTag
- GetMusicArtistTag
- GetMusicCopyrightTag
- GetMusicDecoder
- GetMusicHookData
- GetMusicLoopEndTime
- GetMusicLoopLengthTime
- GetMusicLoopStartTime
- GetMusicPosition
- GetMusicTitle
- GetMusicTitleTag
- GetMusicType
- GetMusicVolume
- GetNumChunkDecoders
- GetNumMusicDecoders
- GetSoundFonts
- GetSynchroValue
- GetTimidityCfg
- GroupAvailable
- GroupChannel
- GroupChannels
- GroupCount
- GroupNewer
- GroupOldest
- HaltChannel
- HaltGroup
- HaltMusic
- HasChunkDecoder
- HasMusicDecoder
- HookMusic
- HookMusicFinished
- Init
- Linked_Version
- LoadMUS
- LoadMUSType_RW
- LoadMUS_RW
- LoadWAV
- LoadWAV_RW
- ModMusicJumpToOrder
- MusicDuration
- OpenAudio
- OpenAudioDevice
- Pause
- PauseMusic
- Paused
- PausedMusic
- PlayChannel
- PlayChannelTimed
- PlayMusic
- Playing
- PlayingMusic
- QuerySpec
- QuickLoad_RAW
- QuickLoad_WAV
- Quit
- RegisterEffect
- ReserveChannels
- Resume
- ResumeMusic
- RewindMusic
- SetDistance
- SetMusicCMD
- SetMusicPosition
- SetPanning
- SetPosition
- SetPostMix
- SetReverseStereo
- SetSoundFonts
- SetSynchroValue
- SetTimidityCfg
- UnregisterAllEffects
- UnregisterEffect
- Volume
- VolumeChunk
- VolumeMusic
Procedure Groups (0)
This section is empty.
Types
EffectDone_t ¶
Related Procedures With Parameters
EffectFunc_t ¶
Related Procedures With Parameters
Fading ¶
Fading :: enum i32 { NO_FADING, FADING_OUT, FADING_IN, }
Related Procedures With Returns
Related Constants
InitFlag ¶
InitFlag :: enum i32 { FLAC = 0, MOD = 1, MP3 = 3, OGG = 4, MID = 5, OPUS = 6, }
MixFunc ¶
Related Procedures With Parameters
Music ¶
Music :: struct {}
Related Procedures With Parameters
- FadeInMusic
- FadeInMusicPos
- FreeMusic
- GetMusicAlbumTag
- GetMusicArtistTag
- GetMusicCopyrightTag
- GetMusicLoopEndTime
- GetMusicLoopLengthTime
- GetMusicLoopStartTime
- GetMusicPosition
- GetMusicTitle
- GetMusicTitleTag
- GetMusicType
- GetMusicVolume
- MusicDuration
- PlayMusic
Related Procedures With Returns
MusicType ¶
MusicType :: enum i32 { NONE, CMD, WAV, MOD, MID, OGG, MP3, MP3_MAD_UNUSED, FLAC, MODPLUG_UNUSED, OPUS, }
Related Procedures With Parameters
Related Procedures With Returns
Related Constants
Constants
CHANNELS ¶
CHANNELS :: 8
CHANNEL_POST ¶
CHANNEL_POST :: -2
DEFAULT_CHANNELS ¶
DEFAULT_CHANNELS :: 2
DEFAULT_FORMAT ¶
DEFAULT_FORMAT :: SDL.AUDIO_S16SYS
DEFAULT_FREQUENCY ¶
DEFAULT_FREQUENCY :: 44100
EFFECTSMAXSPEED ¶
EFFECTSMAXSPEED :: "MIX_EFFECTSMAXSPEED"
FADING_IN ¶
FADING_IN :: Fading.FADING_IN
FADING_OUT ¶
FADING_OUT :: Fading.FADING_OUT
INIT_FLAC ¶
INIT_FLAC :: InitFlags{.FLAC}
INIT_MID ¶
INIT_MID :: InitFlags{.MID}
INIT_MOD ¶
INIT_MOD :: InitFlags{.MOD}
INIT_MP3 ¶
INIT_MP3 :: InitFlags{.MP3}
INIT_OGG ¶
INIT_OGG :: InitFlags{.OGG}
INIT_OPUS ¶
INIT_OPUS :: InitFlags{.OPUS}
MAJOR_VERSION ¶
MAJOR_VERSION :: 2
MAX_VOLUME ¶
MAX_VOLUME :: SDL.MIX_MAXVOLUME
MINOR_VERSION ¶
MINOR_VERSION :: 0
MUS_FLAC ¶
MUS_FLAC :: MusicType.FLAC
MUS_MODPLUG_UNUSED ¶
MUS_MODPLUG_UNUSED :: MusicType.MODPLUG_UNUSED
MUS_MP3_MAD_UNUSED ¶
MUS_MP3_MAD_UNUSED :: MusicType.MP3_MAD_UNUSED
MUS_NONE ¶
MUS_NONE :: MusicType.NONE
MUS_OPUS ¶
MUS_OPUS :: MusicType.OPUS
NO_FADING ¶
NO_FADING :: Fading.NO_FADING
PATCHLEVEL ¶
PATCHLEVEL :: 4
Variables
This section is empty.
Procedures
ChannelFinished ¶
ChannelFinished :: proc "c" (channel_finished: proc "c" (channel: i32)) ---
CloseAudio ¶
CloseAudio :: proc "c" () ---
FadingMusic ¶
FadingMusic :: proc "c" () -> Fading ---
FreeChunk ¶
FreeChunk :: proc "c" (chunk: ^Chunk) ---
FreeMusic ¶
FreeMusic :: proc "c" (music: ^Music) ---
GetMusicHookData ¶
GetMusicHookData :: proc "c" () -> rawptr ---
GetNumChunkDecoders ¶
GetNumChunkDecoders :: proc "c" () -> i32 ---
GetNumMusicDecoders ¶
GetNumMusicDecoders :: proc "c" () -> i32 ---
GetSoundFonts ¶
GetSoundFonts :: proc "c" () -> cstring ---
GetSynchroValue ¶
GetSynchroValue :: proc "c" () -> i32 ---
GetTimidityCfg ¶
GetTimidityCfg :: proc "c" () -> cstring ---
HaltMusic ¶
HaltMusic :: proc "c" () -> i32 ---
HookMusicFinished ¶
HookMusicFinished :: proc "c" (music_finished: proc "c" ()) ---
Linked_Version ¶
Linked_Version :: proc "c" () -> ^sdl2.version ---
PauseMusic ¶
PauseMusic :: proc "c" () ---
PausedMusic ¶
PausedMusic :: proc "c" () -> i32 ---
PlayingMusic ¶
PlayingMusic :: proc "c" () -> i32 ---
RegisterEffect ¶
RegisterEffect :: proc "c" (chan: i32, f: EffectFunc_t, d: EffectDone_t, arg: rawptr) -> i32 ---
ResumeMusic ¶
ResumeMusic :: proc "c" () ---
RewindMusic ¶
RewindMusic :: proc "c" () ---
UnregisterEffect ¶
UnregisterEffect :: proc "c" (channel: i32, f: EffectFunc_t) -> i32 ---
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2024-12 (vendor "odin") Windows_amd64 @ 2024-12-21 21:10:08.157503900 +0000 UTC