diff options
author | Chris Robinson <[email protected]> | 2019-12-01 15:36:25 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-12-01 15:36:25 -0800 |
commit | b79aa323080957e1efab8b87dbbba550b17e913d (patch) | |
tree | 15f5cd9c935cf2ca64eb8e67ef8cf253e04e8850 /alc | |
parent | 9559f7bfc29350ffb71cbd4c14f11c6de927c781 (diff) |
Store the ambisonic order for the voice
Currently only first-order B-Format is possible for a buffer/source, but this
will begin to allow for higher orders with an appropriate extension.
Diffstat (limited to 'alc')
-rw-r--r-- | alc/voice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/alc/voice.h b/alc/voice.h index e15c5ec1..af2b5dba 100644 --- a/alc/voice.h +++ b/alc/voice.h @@ -211,6 +211,7 @@ struct ALvoice { /* Properties for the attached buffer(s). */ FmtChannels mFmtChannels; + ALuint mAmbiOrder; ALuint mFrequency; ALuint mNumChannels; ALuint mSampleSize; @@ -269,6 +270,7 @@ struct ALvoice { std::memory_order_relaxed); mFmtChannels = rhs.mFmtChannels; + mAmbiOrder = rhs.mAmbiOrder; mFrequency = rhs.mFrequency; mNumChannels = rhs.mNumChannels; mSampleSize = rhs.mSampleSize; |