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);