diff options
author | Glenn Kasten <gkasten@google.com> | 2011-05-04 15:35:18 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2011-05-24 07:38:48 -0700 |
commit | 2395271daac8e5ed58046a620d1da7cb9f1f9b7b (patch) | |
tree | aa6d438e23730df5727e534cee927bcf171fa791 | |
parent | c0b4ff48355cee26a511b4fe783dfaa9e2710fe4 (diff) | |
download | quake-2395271daac8e5ed58046a620d1da7cb9f1f9b7b.tar.gz |
Use AudioTrack::event_type not int in callback
Change-Id: Icec413eb30f589eaa4508b5de73736b84fba51f1
-rw-r--r-- | quake/src/WinQuake/snd_android.cpp | 4 |
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; |