comparison SDL_sound.h @ 29:0e27c909c952 release-0.1.1

Upped version to 0.1.1
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 19 Sep 2001 14:34:52 +0000
parents 734e5d75acec
children 78470d7d94de
comparison
equal deleted inserted replaced
28:d9e84e857569 29:0e27c909c952
59 59
60 #ifdef __cplusplus 60 #ifdef __cplusplus
61 extern "C" { 61 extern "C" {
62 #endif 62 #endif
63 63
64 #define SOUND_VER_MAJOR 0
65 #define SOUND_VER_MINOR 1
66 #define SOUND_VER_PATCH 1
67
68
64 /* 69 /*
65 * These are flags that are used in a Sound_Sample (below) to show various 70 * These are flags that are used in a Sound_Sample (below) to show various
66 * states. 71 * states.
67 * 72 *
68 * To use: "if (sample->flags & SOUND_SAMPLEFLAG_ERROR) { dosomething(); }" 73 * To use: "if (sample->flags & SOUND_SAMPLEFLAG_ERROR) { dosomething(); }"
138 } Sound_Version; 143 } Sound_Version;
139 144
140 145
141 146
142 /* functions and macros... */ 147 /* functions and macros... */
143
144 #define SOUND_VER_MAJOR 0
145 #define SOUND_VER_MINOR 1
146 #define SOUND_VER_PATCH 0
147 148
148 #define SOUND_VERSION(x) { \ 149 #define SOUND_VERSION(x) { \
149 (x)->major = SOUND_VER_MAJOR; \ 150 (x)->major = SOUND_VER_MAJOR; \
150 (x)->minor = SOUND_VER_MINOR; \ 151 (x)->minor = SOUND_VER_MINOR; \
151 (x)->patch = SOUND_VER_PATCH; \ 152 (x)->patch = SOUND_VER_PATCH; \