From 670af4fc7bbd2220c04b7a6ec7d40bfb92a39478 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 25 Jan 2020 21:35:34 +0100 Subject: [PATCH] More build fixes. --- headers/os/game/StreamingGameSound.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/headers/os/game/StreamingGameSound.h b/headers/os/game/StreamingGameSound.h index 265c1703be..74ffdcbe37 100644 --- a/headers/os/game/StreamingGameSound.h +++ b/headers/os/game/StreamingGameSound.h @@ -27,6 +27,9 @@ public: virtual BGameSound* Clone() const; + typedef void (*hook)(void* cookie, void* buffer, size_t byteCount, + BStreamingGameSound* me); + virtual status_t SetStreamHook(hook h, void* cookie); virtual void FillBuffer(void* buffer, size_t byteCount); @@ -36,9 +39,6 @@ public: virtual status_t Perform(int32 selector, void* data); - typedef void (*hook)(void* cookie, void* buffer, size_t byteCount, - BStreamingGameSound* me); - protected: BStreamingGameSound(BGameSoundDevice* device);