From 7eb124d99c2cde0ba27c90d01176b34249958974 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 22 Jul 2010 08:11:44 -0700 Subject: Keep count of the number of samples played --- OpenAL32/Include/alMain.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index d6fc5c15..d9c369ef 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -405,6 +405,9 @@ struct ALCdevice_struct ALCcontext **Contexts; ALuint NumContexts; + // Number of samples rendered by this device + ALuint64 SamplesPlayed; + BackendFuncs *Funcs; void *ExtraData; // For the backend's use -- cgit v1.2.3