Skip to content

Commit

Permalink
[Fix] Compile fix.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@22597 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Dec 21, 2024
1 parent 6c72b5d commit 22bc4ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions soundlib/Sndfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ class CSoundFile
ResamplingMode m_nResampling; // Resampling mode (if overriding the globally set resampling)
int32 m_nRepeatCount = 0; // -1 means repeat infinitely.
ORDERINDEX m_nMaxOrderPosition;
ModChannelSettings ChnSettings[MAX_BASECHANNELS]; // Initial channels settings
std::array<ModChannelSettings, MAX_BASECHANNELS> ChnSettings; // Initial channels settings
CPatternContainer Patterns;
ModSequenceSet Order; // Pattern sequences (order lists)
protected:
Expand Down Expand Up @@ -589,8 +589,8 @@ class CSoundFile
bool m_bPositionChanged = true; // Report to plugins that we jumped around in the module

public:
CHANNELINDEX ChnMix[MAX_CHANNELS]; // Index of channels in Chn to be actually mixed
ModChannel Chn[MAX_CHANNELS]; // Mixing channels... First m_nChannels channels are master channels (i.e. they are never NNA channels)!
std::array<CHANNELINDEX, MAX_CHANNELS> ChnMix; // Index of channels in Chn to be actually mixed
std::array<ModChannel, MAX_CHANNELS> Chn; // Mixing channels... First m_nChannels channels are master channels (i.e. they are never NNA channels)!

struct MIDIMacroEvaluationResults
{
Expand Down

0 comments on commit 22bc4ef

Please sign in to comment.