aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-24 16:55:10 -0700
committerChris Robinson <[email protected]>2014-05-24 16:55:10 -0700
commit4ca561acd379665b82ec9c42773aaec01df97891 (patch)
treedc840c656216190b79c5a1314a9a9702403c37ae /OpenAL32/Include
parent13eac2552e8df0e0a4d5e2012497d4076a365661 (diff)
Move the active source's offset out of the direct params
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h2
-rw-r--r--OpenAL32/Include/alu.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 0839e5b9..f87f1672 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -41,6 +41,8 @@ typedef struct ALactivesource {
ALboolean IsHrtf;
ALint Step;
+ ALuint Offset; /* Number of output samples mixed since starting. */
+
DirectParams Direct;
SendParams Send[MAX_SENDS];
} ALactivesource;
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index df0e923d..98663c7d 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -80,8 +80,6 @@ typedef struct DirectParams {
ALboolean Moving;
/* Stepping counter for gain/coefficient fading. */
ALuint Counter;
- /* History/coefficient offset. */
- ALuint Offset;
struct {
enum ActiveFilters ActiveType;