aboutsummaryrefslogtreecommitdiffstats
path: root/examples/almultireverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-27 10:41:07 -0800
committerChris Robinson <[email protected]>2018-11-27 12:11:11 -0800
commit3f745be1dc4df7ffeec89f1d90af41e139fb49db (patch)
tree9a37b5cc42bd0dbfdb4f59b9f4bd6cef81f1fc02 /examples/almultireverb.c
parentff6dda06ad66d71d4178bfa2aee282abe6c3ec23 (diff)
Return a signed integer from altime_get
Diffstat (limited to 'examples/almultireverb.c')
-rw-r--r--examples/almultireverb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/almultireverb.c b/examples/almultireverb.c
index e512d399..f1b1872f 100644
--- a/examples/almultireverb.c
+++ b/examples/almultireverb.c
@@ -452,7 +452,6 @@ int main(int argc, char **argv)
EFX_REVERB_PRESET_CARPETEDHALLWAY,
EFX_REVERB_PRESET_BATHROOM
};
- unsigned int basetime;
ALCdevice *device = NULL;
ALCcontext *context = NULL;
ALuint effects[2] = { 0, 0 };
@@ -463,6 +462,7 @@ int main(int argc, char **argv)
ALCint num_sends = 0;
ALenum state = AL_INITIAL;
ALfloat direct_gain = 1.0f;
+ int basetime = 0;
int loops = 0;
/* Print out usage if no arguments were specified */
@@ -640,7 +640,7 @@ int main(int argc, char **argv)
/* Play the sound for a while. */
alSourcePlay(source);
do {
- unsigned int curtime;
+ int curtime;
ALfloat timediff;
/* Start a batch update, to ensure all changes apply simultaneously. */