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 /core/voice.cpp | |
parent | a051909c3595b9850147e71bdf2d987013ed31f4 (diff) |
Rename Voice::mNumChannels for clarity
Diffstat (limited to 'core/voice.cpp')
-rw-r--r-- | core/voice.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/voice.cpp b/core/voice.cpp index d93a4a18..4cda0c30 100644 --- a/core/voice.cpp +++ b/core/voice.cpp @@ -591,8 +591,8 @@ void Voice::mix(const State vstate, ContextBase *Context, const uint SamplesToDo ++prevSamples; } if((mFlags&VoiceIsStatic)) - LoadBufferStatic(BufferListItem, BufferLoopItem, DataPosInt, mFmtType, mFmtChannels, - mNumChannels, SrcBufferSize, MixingSamples); + LoadBufferStatic(BufferListItem, BufferLoopItem, DataPosInt, mFmtType, + mFmtChannels, mFrameStep, SrcBufferSize, MixingSamples); else if((mFlags&VoiceIsCallback)) { if(!(mFlags&VoiceCallbackStopped)) @@ -617,11 +617,11 @@ void Voice::mix(const State vstate, ContextBase *Context, const uint SamplesToDo } } LoadBufferCallback(BufferListItem, mNumCallbackSamples, mFmtType, mFmtChannels, - mNumChannels, SrcBufferSize, MixingSamples); + mFrameStep, SrcBufferSize, MixingSamples); } else LoadBufferQueue(BufferListItem, BufferLoopItem, DataPosInt, mFmtType, mFmtChannels, - mNumChannels, SrcBufferSize, MixingSamples); + mFrameStep, SrcBufferSize, MixingSamples); if(mDecoder) { |