aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index c33d6d1a..2525f107 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -94,6 +94,13 @@ typedef struct ALvoice {
ATOMIC(ALuint) position;
ATOMIC(ALuint) position_fraction;
+ /**
+ * Number of channels and bytes-per-sample for the attached source's
+ * buffer(s).
+ */
+ ALsizei NumChannels;
+ ALsizei SampleSize;
+
/** Current target parameters used for mixing. */
ALint Step;
@@ -197,10 +204,6 @@ typedef struct ALsource {
ATOMIC(ALboolean) looping;
- /** Current buffer sample info. */
- ALsizei NumChannels;
- ALsizei SampleSize;
-
ALenum NeedsUpdate;
ATOMIC(struct ALsourceProps*) Update;