annotate R/rdyncall/inst/dynports/SDL_mixer.R @ 12:079718588eb6

made erlang binding work with system *installed* dyncall: - made build use static libraries (used .o files directly) - removed custom flags for include path and relying on CFLAGS now - change cc to $(CC) - readme update with build instructions, etc.
author cslag
date Sat, 26 Mar 2016 15:55:50 +0100
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
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 dynbind(c("SDL_mixer","SDL_mixer-1.2","SDL_mixer-1.2.so.0"), "
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 Mix_AllocateChannels(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 Mix_ChannelFinished(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 Mix_CloseAudio()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 Mix_ExpireChannel(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 Mix_FadeInChannelTimed(i*<Mix_Chunk>iii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 Mix_FadeInMusic(*<_Mix_Music>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 Mix_FadeInMusicPos(*<_Mix_Music>iid)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 Mix_FadeOutChannel(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 Mix_FadeOutGroup(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 Mix_FadeOutMusic(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 Mix_FadingChannel(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 Mix_FadingMusic()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 Mix_FreeChunk(*<Mix_Chunk>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 Mix_FreeMusic(*<_Mix_Music>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 Mix_GetChunk(i)*<Mix_Chunk>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 Mix_GetChunkDecoder(i)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 Mix_GetMusicDecoder(i)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 Mix_GetMusicHookData()*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 Mix_GetMusicType(*<_Mix_Music>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 Mix_GetNumChunkDecoders()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 Mix_GetNumMusicDecoders()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 Mix_GetSynchroValue()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 Mix_GroupAvailable(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 Mix_GroupChannel(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 Mix_GroupChannels(iii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 Mix_GroupCount(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 Mix_GroupNewer(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 Mix_GroupOldest(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 Mix_HaltChannel(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 Mix_HaltGroup(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 Mix_HaltMusic()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 Mix_HookMusic(*p*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 Mix_HookMusicFinished(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 Mix_Init(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 Mix_Linked_Version()*<SDL_version>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 Mix_LoadMUS(*c)*<_Mix_Music>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 Mix_LoadMUS_RW(*<SDL_RWops>)*<_Mix_Music>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 Mix_LoadWAV_RW(*<SDL_RWops>i)*<Mix_Chunk>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 Mix_OpenAudio(iSii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 Mix_Pause(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 Mix_PauseMusic()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 Mix_Paused(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 Mix_PausedMusic()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 Mix_PlayChannelTimed(i*<Mix_Chunk>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 Mix_PlayMusic(*<_Mix_Music>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 Mix_Playing(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50 Mix_PlayingMusic()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
51 Mix_QuerySpec(*i*S*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
52 Mix_QuickLoad_RAW(*CI)*<Mix_Chunk>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
53 Mix_QuickLoad_WAV(*C)*<Mix_Chunk>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
54 Mix_Quit()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
55 Mix_RegisterEffect(i*p*p*v)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
56 Mix_ReserveChannels(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
57 Mix_Resume(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
58 Mix_ResumeMusic()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
59 Mix_RewindMusic()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
60 Mix_SetDistance(iC)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
61 Mix_SetMusicCMD(*c)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
62 Mix_SetMusicPosition(d)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
63 Mix_SetPanning(iCC)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
64 Mix_SetPosition(isC)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
65 Mix_SetPostMix(*p*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
66 Mix_SetReverseStereo(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
67 Mix_SetSynchroValue(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
68 Mix_UnregisterAllEffects(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
69 Mix_UnregisterEffect(i*p)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
70 Mix_Volume(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
71 Mix_VolumeChunk(*<Mix_Chunk>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
72 Mix_VolumeMusic(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
73 ")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
74 MIX_FADING_IN=2;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
75 MIX_FADING_OUT=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
76 MIX_INIT_FLAC=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
77 MIX_INIT_MOD=2;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
78 MIX_INIT_MP3=4;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
79 MIX_INIT_OGG=8;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
80 MIX_NO_FADING=0;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
81 AUDIO_S16=0x8010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
82 AUDIO_S16LSB=0x8010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
83 AUDIO_S16MSB=0x9010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
84 AUDIO_S16SYS=0x8010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
85 AUDIO_S8=0x8008
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
86 AUDIO_U16=0x0010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
87 AUDIO_U16LSB=0x0010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
88 AUDIO_U16MSB=0x1010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
89 AUDIO_U16SYS=0x0010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
90 AUDIO_U8=0x0008
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
91 MIX_CHANNELS=8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
92 MIX_CHANNEL_POST=-2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
93 MIX_DEFAULT_CHANNELS=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
94 MIX_DEFAULT_FORMAT=0x8010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
95 MIX_DEFAULT_FREQUENCY=22050
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
96 MIX_EFFECTSMAXSPEED="MIX_EFFECTSMAXSPEED"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
97 MIX_MAJOR_VERSION=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
98 MIX_MAX_VOLUME=128
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
99 MIX_MINOR_VERSION=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
100 MIX_PATCHLEVEL=11
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
101 Mix_GetError=SDL_GetError
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
102 Mix_SetError=SDL_SetError
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
103