diff options
author | Chris Robinson <[email protected]> | 2021-12-15 14:28:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-12-15 14:28:26 -0800 |
commit | edea2b2a028003a76c4fca5cd6f5b375547d9ecc (patch) | |
tree | a94694dc938f986b885a831db673280efd814681 /al/source.cpp | |
parent | a051909c3595b9850147e71bdf2d987013ed31f4 (diff) |
Rename Voice::mNumChannels for clarity
Diffstat (limited to 'al/source.cpp')
-rw-r--r-- | al/source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp index a8d3e9c6..4a2aaf35 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -497,7 +497,7 @@ void InitVoice(Voice *voice, ALsource *source, ALbufferQueueItem *BufferList, AL (buffer->mChannels == FmtStereo && source->mStereoMode == SourceStereo::Enhanced) ? FmtSuperStereo : buffer->mChannels; voice->mFmtType = buffer->mType; - voice->mNumChannels = buffer->channelsFromFmt(); + voice->mFrameStep = buffer->channelsFromFmt(); voice->mFrameSize = buffer->frameSizeFromFmt(); voice->mAmbiLayout = IsUHJ(voice->mFmtChannels) ? AmbiLayout::FuMa : buffer->mAmbiLayout; voice->mAmbiScaling = IsUHJ(voice->mFmtChannels) ? AmbiScaling::UHJ : buffer->mAmbiScaling; |