annotate lua/luadyncall/share/dynport/SDL_mixer.dynport @ 30:baf087cf5971

- fixed two ref counting problems - minor improvements
author Tassilo Philipp
date Fri, 10 Apr 2020 20:35:19 +0200
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 :lib
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 SDL_mixer|SDL_mixer-1.2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 .
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 :fun
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 Mix_AllocateChannels(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 Mix_ChannelFinished(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 Mix_CloseAudio()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 Mix_ExpireChannel(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 Mix_FadeInChannelTimed(i*<Mix_Chunk>iii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 Mix_FadeInMusic(*<_Mix_Music>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 Mix_FadeInMusicPos(*<_Mix_Music>iid)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 Mix_FadeOutChannel(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 Mix_FadeOutGroup(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 Mix_FadeOutMusic(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 Mix_FadingChannel(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 Mix_FadingMusic()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 Mix_FreeChunk(*<Mix_Chunk>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 Mix_FreeMusic(*<_Mix_Music>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 Mix_GetChunk(i)*<Mix_Chunk>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 Mix_GetChunkDecoder(i)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 Mix_GetMusicDecoder(i)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 Mix_GetMusicHookData()*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 Mix_GetMusicType(*<_Mix_Music>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 Mix_GetNumChunkDecoders()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 Mix_GetNumMusicDecoders()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 Mix_GetSynchroValue()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 Mix_GroupAvailable(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 Mix_GroupChannel(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 Mix_GroupChannels(iii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 Mix_GroupCount(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 Mix_GroupNewer(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 Mix_GroupOldest(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 Mix_HaltChannel(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 Mix_HaltGroup(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 Mix_HaltMusic()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 Mix_HookMusic(*p*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 Mix_HookMusicFinished(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 Mix_Init(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 Mix_Linked_Version()*<SDL_version>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 Mix_LoadMUS(*c)*<_Mix_Music>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 Mix_LoadMUS_RW(*<SDL_RWops>)*<_Mix_Music>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 Mix_LoadWAV_RW(*<SDL_RWops>i)*<Mix_Chunk>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 Mix_OpenAudio(iSii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 Mix_Pause(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 Mix_PauseMusic()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 Mix_Paused(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 Mix_PausedMusic()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 Mix_PlayChannelTimed(i*<Mix_Chunk>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 Mix_PlayMusic(*<_Mix_Music>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50 Mix_Playing(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
51 Mix_PlayingMusic()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
52 Mix_QuerySpec(*i*S*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
53 Mix_QuickLoad_RAW(*CI)*<Mix_Chunk>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
54 Mix_QuickLoad_WAV(*C)*<Mix_Chunk>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
55 Mix_Quit()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
56 Mix_RegisterEffect(i*p*p*v)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
57 Mix_ReserveChannels(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
58 Mix_Resume(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
59 Mix_ResumeMusic()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
60 Mix_RewindMusic()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
61 Mix_SetDistance(iC)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
62 Mix_SetMusicCMD(*c)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
63 Mix_SetMusicPosition(d)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
64 Mix_SetPanning(iCC)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
65 Mix_SetPosition(isC)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
66 Mix_SetPostMix(*p*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
67 Mix_SetReverseStereo(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
68 Mix_SetSynchroValue(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
69 Mix_UnregisterAllEffects(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
70 Mix_UnregisterEffect(i*p)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
71 Mix_Volume(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
72 Mix_VolumeChunk(*<Mix_Chunk>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
73 Mix_VolumeMusic(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
74 .
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
75 :const
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
76 MIX_CHANNELS=8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
77 MIX_CHANNEL_POST=-2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
78 MIX_DEFAULT_CHANNELS=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
79 MIX_DEFAULT_FORMAT=0x8010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
80 MIX_DEFAULT_FREQUENCY=22050
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
81 MIX_EFFECTSMAXSPEED="MIX_EFFECTSMAXSPEED"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
82 MIX_MAJOR_VERSION=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
83 MIX_MAX_VOLUME=128
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
84 MIX_MINOR_VERSION=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
85 MIX_PATCHLEVEL=11
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
86 Mix_GetError=SDL_GetError
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
87 Mix_SetError=SDL_SetError
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
88 MIX_FADING_IN=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
89 MIX_FADING_OUT=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
90 MIX_INIT_FLAC=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
91 MIX_INIT_MOD=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
92 MIX_INIT_MP3=4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
93 MIX_INIT_OGG=8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
94 MIX_NO_FADING=0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
95 .
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
96 .