aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2011-05-04 15:35:18 -0700
committerGlenn Kasten <gkasten@google.com>2011-05-24 07:38:48 -0700
commit2395271daac8e5ed58046a620d1da7cb9f1f9b7b (patch)
treeaa6d438e23730df5727e534cee927bcf171fa791
parentc0b4ff48355cee26a511b4fe783dfaa9e2710fe4 (diff)
downloadquake-2395271daac8e5ed58046a620d1da7cb9f1f9b7b.tar.gz
Use AudioTrack::event_type not int in callback
Change-Id: Icec413eb30f589eaa4508b5de73736b84fba51f1
-rw-r--r--quake/src/WinQuake/snd_android.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quake/src/WinQuake/snd_android.cpp b/quake/src/WinQuake/snd_android.cpp
index 1327023..516fa85 100644
--- a/quake/src/WinQuake/snd_android.cpp
+++ b/quake/src/WinQuake/snd_android.cpp
@@ -500,7 +500,7 @@ static float sinef(float x)
}
static
-void AndroidQuakeSoundCallback(int event, void* user, void *info) {
+void AndroidQuakeSoundCallback(AudioTrack::event_type event, void* user, void *info) {
if (event != AudioTrack::EVENT_MORE_DATA) return;
@@ -568,7 +568,7 @@ static bool shouldMixSilence() {
}
static
-void AndroidQuakeSoundCallback(int event, void* user, void *info) {
+void AndroidQuakeSoundCallback(AudioTrack::event_type event, void* user, void *info) {
if (event != AudioTrack::EVENT_MORE_DATA) return;