comparison minijss/jssplr.h @ 1405:ffa540ec354d

Clarify function prototypes in the header.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 04 Nov 2017 02:17:26 +0200
parents aa3738b121d1
children 9807ae37ad69
comparison
equal deleted inserted replaced
1404:89725addaeaf 1405:ffa540ec354d
148 } JSSPlayer; 148 } JSSPlayer;
149 149
150 150
151 /* External functions for end users 151 /* External functions for end users
152 */ 152 */
153 int jmpPlayOrder(JSSPlayer *, int); 153 int jmpPlayOrder(JSSPlayer *plr, int order);
154 int jmpChangeOrder(JSSPlayer *, int); 154 int jmpChangeOrder(JSSPlayer *plr, int order);
155 int jmpPlayPattern(JSSPlayer *, int); 155 int jmpPlayPattern(JSSPlayer *plr, int pattern);
156 void jmpStop(JSSPlayer *); 156 void jmpStop(JSSPlayer *plr);
157 void jmpResume(JSSPlayer *); 157 void jmpResume(JSSPlayer *plr);
158 void jmpSetModule(JSSPlayer *, JSSModule *); 158 void jmpSetModule(JSSPlayer *plr, JSSModule *module);
159 JSSPlayer * jmpInit(JSSMixer *); 159 JSSPlayer * jmpInit(JSSMixer *mixer);
160 int jmpClose(JSSPlayer *); 160 int jmpClose(JSSPlayer *plr);
161 void jmpExec(void *, void *); 161 void jmpExec(void *dev, void *plr);
162 162
163 163
164 /* Helper macros 164 /* Helper macros
165 */ 165 */
166 #define JMPMAKEPARAM(AIVAL, AVALX, AVALY) { AVALX = (((AIVAL) >> 4) & 0x0f); AVALY = ((AIVAL) & 0x0f); } 166 #define JMPMAKEPARAM(AIVAL, AVALX, AVALY) { AVALX = (((AIVAL) >> 4) & 0x0f); AVALY = ((AIVAL) & 0x0f); }