diff options
author | Chris Robinson <[email protected]> | 2010-07-22 08:11:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-07-22 08:11:44 -0700 |
commit | 7eb124d99c2cde0ba27c90d01176b34249958974 (patch) | |
tree | dea8e97dc5eb3e0985785fd66943d9267a19d61e /OpenAL32/Include | |
parent | 88f236ccd3f2e75d0823414e8c9a4492ddbd2539 (diff) |
Keep count of the number of samples played
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |