aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-06-11 12:20:12 +1000
committerPaul Gilbert2012-06-11 12:20:12 +1000
commit5b5a812d3750cc1e8063ccfc8d1d9bf4db6a127b (patch)
treeb8213537f63f07f77437cbabe9b681d0a034b4d2 /engines/tony/sound.h
parent2da2981682cdc637faf5e2fccc041223d457bdc4 (diff)
downloadscummvm-rg350-5b5a812d3750cc1e8063ccfc8d1d9bf4db6a127b.tar.gz
scummvm-rg350-5b5a812d3750cc1e8063ccfc8d1d9bf4db6a127b.tar.bz2
scummvm-rg350-5b5a812d3750cc1e8063ccfc8d1d9bf4db6a127b.zip
TONY: Implemented process to properly set hEndOfBuffer when sound effects end
Diffstat (limited to 'engines/tony/sound.h')
-rw-r--r--engines/tony/sound.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/tony/sound.h b/engines/tony/sound.h
index c64680a9cf..6593470d0c 100644
--- a/engines/tony/sound.h
+++ b/engines/tony/sound.h
@@ -209,6 +209,10 @@ private:
\****************************************************************************/
public:
+ /**
+ * Check process for whether sounds have finished playing
+ */
+ static void soundCheckProcess(CORO_PARAM, const void *param);
/****************************************************************************\
*
@@ -353,6 +357,11 @@ public:
\****************************************************************************/
void GetVolume(int *lpdwVolume);
+
+ /**
+ * Returns true if the sound has finished playing
+ */
+ bool endOfBuffer() const;
};
class FPSTREAM {