From 6908d519c25805e072d69c600c863fa392885746 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 14 Mar 2022 12:10:06 +0100 Subject: new package --- REFLECTION | 521 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 521 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..ec69dde --- /dev/null +++ b/REFLECTION @@ -0,0 +1,521 @@ +Extension [ extension #121 SDL_mixer version 0.3.0 ] { + + - Dependencies { + Dependency [ sdl (Required) ] + } + + - Constants [5] { + Constant [ int MIX_DEFAULT_CHANNELS ] { 2 } + Constant [ int MIX_DEFAULT_FREQUENCY ] { 22050 } + Constant [ int MIX_DEFAULT_FORMAT ] { 32784 } + Constant [ int MIX_MAX_VOLUME ] { 128 } + Constant [ int MIX_CHANNELS ] { 8 } + } + + - Functions { + Function [ function Mix_Init ] { + + - Parameters [1] { + Parameter #0 [ int $flags ] + } + - Return [ int ] + } + Function [ function Mix_Quit ] { + + - Parameters [0] { + } + - Return [ void ] + } + Function [ function Mix_OpenAudio ] { + + - Parameters [4] { + Parameter #0 [ int $frequency ] + Parameter #1 [ int $format ] + Parameter #2 [ int $channels ] + Parameter #3 [ int $chunksize ] + } + - Return [ int ] + } + Function [ function Mix_OpenAudioDevice ] { + + - Parameters [6] { + Parameter #0 [ int $frequency ] + Parameter #1 [ int $format ] + Parameter #2 [ int $channels ] + Parameter #3 [ int $chunksize ] + Parameter #4 [ string $device ] + Parameter #5 [ int $allowed_changes ] + } + - Return [ int ] + } + Function [ function Mix_AllocateChannels ] { + + - Parameters [1] { + Parameter #0 [ int $numchans ] + } + - Return [ int ] + } + Function [ function Mix_QuerySpec ] { + + - Parameters [3] { + Parameter #0 [ int &$frequency ] + Parameter #1 [ int &$format ] + Parameter #2 [ int &$channels ] + } + - Return [ int ] + } + Function [ function Mix_LoadWAV_RW ] { + + - Parameters [2] { + Parameter #0 [ SDL_RWops $src ] + Parameter #1 [ int $freesrc ] + } + - Return [ Mix_Chunk ] + } + Function [ function Mix_LoadWAV ] { + + - Parameters [1] { + Parameter #0 [ string $file ] + } + - Return [ Mix_Chunk ] + } + Function [ function Mix_FreeChunk ] { + + - Parameters [1] { + Parameter #0 [ Mix_Chunk $chunk ] + } + - Return [ void ] + } + Function [ function Mix_GetNumChunkDecoders ] { + + - Parameters [0] { + } + - Return [ int ] + } + Function [ function Mix_GetChunkDecoder ] { + + - Parameters [1] { + Parameter #0 [ int $index ] + } + - Return [ string ] + } + Function [ function Mix_HasChunkDecoder ] { + + - Parameters [1] { + Parameter #0 [ string $name ] + } + - Return [ bool ] + } + Function [ function Mix_ReserveChannels ] { + + - Parameters [1] { + Parameter #0 [ int $num ] + } + - Return [ int ] + } + Function [ function Mix_GroupChannel ] { + + - Parameters [2] { + Parameter #0 [ int $which ] + Parameter #1 [ int $tag ] + } + - Return [ int ] + } + Function [ function Mix_GroupChannels ] { + + - Parameters [3] { + Parameter #0 [ int $from ] + Parameter #1 [ int $to ] + Parameter #2 [ int $tag ] + } + - Return [ int ] + } + Function [ function Mix_GroupAvailable ] { + + - Parameters [1] { + Parameter #0 [ int $tag ] + } + - Return [ int ] + } + Function [ function Mix_GroupCount ] { + + - Parameters [1] { + Parameter #0 [ int $tag ] + } + - Return [ int ] + } + Function [ function Mix_GroupOldest ] { + + - Parameters [1] { + Parameter #0 [ int $tag ] + } + - Return [ int ] + } + Function [ function Mix_GroupNewer ] { + + - Parameters [1] { + Parameter #0 [ int $tag ] + } + - Return [ int ] + } + Function [ function Mix_PlayChannel ] { + + - Parameters [3] { + Parameter #0 [ int $channel ] + Parameter #1 [ Mix_Chunk $chunk ] + Parameter #2 [ int $loops ] + } + - Return [ int ] + } + Function [ function Mix_PlayChannelTimed ] { + + - Parameters [4] { + Parameter #0 [ int $channel ] + Parameter #1 [ Mix_Chunk $chunk ] + Parameter #2 [ int $loops ] + Parameter #3 [ int $ticks ] + } + - Return [ int ] + } + Function [ function Mix_FadeInChannelTimed ] { + + - Parameters [5] { + Parameter #0 [ int $channel ] + Parameter #1 [ Mix_Chunk $chunk ] + Parameter #2 [ int $loops ] + Parameter #3 [ int $ms ] + Parameter #4 [ int $ticks ] + } + - Return [ int ] + } + Function [ function Mix_Volume ] { + + - Parameters [2] { + Parameter #0 [ int $channel ] + Parameter #1 [ int $volume ] + } + - Return [ int ] + } + Function [ function Mix_VolumeChunk ] { + + - Parameters [2] { + Parameter #0 [ Mix_Chunk $chunk ] + Parameter #1 [ int $volume ] + } + - Return [ int ] + } + Function [ function Mix_HaltChannel ] { + + - Parameters [1] { + Parameter #0 [ int $channel ] + } + - Return [ int ] + } + Function [ function Mix_HaltGroup ] { + + - Parameters [1] { + Parameter #0 [ int $tag ] + } + - Return [ int ] + } + Function [ function Mix_ExpireChannel ] { + + - Parameters [2] { + Parameter #0 [ int $channel ] + Parameter #1 [ int $ticks ] + } + - Return [ int ] + } + Function [ function Mix_FadeOutChannel ] { + + - Parameters [2] { + Parameter #0 [ int $which ] + Parameter #1 [ int $ms ] + } + - Return [ int ] + } + Function [ function Mix_FadeOutGroup ] { + + - Parameters [2] { + Parameter #0 [ int $tag ] + Parameter #1 [ int $ms ] + } + - Return [ int ] + } + Function [ function Mix_Pause ] { + + - Parameters [1] { + Parameter #0 [ int $channel ] + } + - Return [ void ] + } + Function [ function Mix_Resume ] { + + - Parameters [1] { + Parameter #0 [ int $channel ] + } + - Return [ void ] + } + Function [ function Mix_Paused ] { + + - Parameters [1] { + Parameter #0 [ int $channel ] + } + - Return [ int ] + } + Function [ function Mix_Playing ] { + + - Parameters [1] { + Parameter #0 [ int $channel ] + } + - Return [ int ] + } + Function [ function Mix_GetChunk ] { + + - Parameters [1] { + Parameter #0 [ int $channel ] + } + - Return [ Mix_Chunk ] + } + Function [ function Mix_CloseAudio ] { + + - Parameters [0] { + } + - Return [ void ] + } + Function [ function Mix_LoadMUS ] { + + - Parameters [1] { + Parameter #0 [ string $file ] + } + - Return [ Mix_Music ] + } + Function [ function Mix_LoadMUS_RW ] { + + - Parameters [2] { + Parameter #0 [ SDL_RWops $src ] + Parameter #1 [ int $freesrc ] + } + - Return [ Mix_Music ] + } + Function [ function Mix_FreeMusic ] { + + - Parameters [1] { + Parameter #0 [ Mix_Music $music ] + } + - Return [ void ] + } + Function [ function Mix_GetNumMusicDecoders ] { + + - Parameters [0] { + } + - Return [ int ] + } + Function [ function Mix_GetMusicDecoder ] { + + - Parameters [1] { + Parameter #0 [ int $index ] + } + - Return [ string ] + } + Function [ function Mix_PlayMusic ] { + + - Parameters [2] { + Parameter #0 [ Mix_Music $music ] + Parameter #1 [ int $loops ] + } + - Return [ int ] + } + Function [ function Mix_FadeInMusic ] { + + - Parameters [3] { + Parameter #0 [ Mix_Music $music ] + Parameter #1 [ int $loops ] + Parameter #2 [ int $ms ] + } + - Return [ int ] + } + Function [ function Mix_FadeInMusicPos ] { + + - Parameters [4] { + Parameter #0 [ Mix_Music $music ] + Parameter #1 [ int $loops ] + Parameter #2 [ int $ms ] + Parameter #3 [ float $position ] + } + - Return [ int ] + } + Function [ function Mix_VolumeMusic ] { + + - Parameters [1] { + Parameter #0 [ int $volume ] + } + - Return [ int ] + } + Function [ function Mix_HaltMusic ] { + + - Parameters [0] { + } + - Return [ int ] + } + Function [ function Mix_FadeOutMusic ] { + + - Parameters [1] { + Parameter #0 [ int $ms ] + } + - Return [ int ] + } + Function [ function Mix_PauseMusic ] { + + - Parameters [0] { + } + - Return [ void ] + } + Function [ function Mix_ResumeMusic ] { + + - Parameters [0] { + } + - Return [ void ] + } + Function [ function Mix_RewindMusic ] { + + - Parameters [0] { + } + - Return [ void ] + } + Function [ function Mix_PausedMusic ] { + + - Parameters [0] { + } + - Return [ int ] + } + Function [ function Mix_SetMusicPosition ] { + + - Parameters [1] { + Parameter #0 [ float $position ] + } + - Return [ int ] + } + Function [ function Mix_PlayingMusic ] { + + - Parameters [0] { + } + - Return [ int ] + } + Function [ function Mix_SetMusicCMD ] { + + - Parameters [1] { + Parameter #0 [ string $command ] + } + - Return [ int ] + } + Function [ function Mix_SetSynchroValue ] { + + - Parameters [1] { + Parameter #0 [ int $value ] + } + - Return [ int ] + } + Function [ function Mix_GetSynchroValue ] { + + - Parameters [0] { + } + - Return [ int ] + } + Function [ function Mix_SetSoundFonts ] { + + - Parameters [1] { + Parameter #0 [ string $paths ] + } + - Return [ int ] + } + Function [ function Mix_GetSoundFonts ] { + + - Parameters [0] { + } + - Return [ string ] + } + Function [ function Mix_SetPosition ] { + + - Parameters [3] { + Parameter #0 [ int $channel ] + Parameter #1 [ int $angle ] + Parameter #2 [ int $distance ] + } + - Return [ int ] + } + Function [ function Mix_SetDistance ] { + + - Parameters [2] { + Parameter #0 [ int $channel ] + Parameter #1 [ int $distance ] + } + - Return [ int ] + } + Function [ function Mix_SetReverseStereo ] { + + - Parameters [2] { + Parameter #0 [ int $channel ] + Parameter #1 [ int $flip ] + } + - Return [ int ] + } + Function [ function Mix_SetError ] { + + - Parameters [0] { + } + - Return [ string ] + } + Function [ function Mix_GetError ] { + + - Parameters [0] { + } + - Return [ string ] + } + Function [ function Mix_ClearError ] { + + - Parameters [0] { + } + - Return [ string ] + } + } + + - Classes [2] { + Class [ final class Mix_Chunk ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class Mix_Music ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + } +} + -- cgit