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 /al | |
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 'al')
-rw-r--r-- | al/source.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/al/source.cpp b/al/source.cpp index 8b8e6382..04fd3b66 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -2788,6 +2788,7 @@ START_API_FUNC ALbuffer *buffer{BufferList->mBuffer}; voice->mFrequency = buffer->Frequency; voice->mFmtChannels = buffer->mFmtChannels; + voice->mAmbiOrder = 1; voice->mNumChannels = ChannelsFromFmt(buffer->mFmtChannels); voice->mSampleSize = BytesFromFmt(buffer->mFmtType); |