mirror of https://github.com/AxioDL/amuse.git
Sequencer: Always initialize ChannelState channel ID
Provides a deterministic initial state for the default constructor case.
This commit is contained in:
parent
5f76f0ecbf
commit
9ec78d6b9f
|
@ -45,7 +45,7 @@ class Sequencer : public Entity {
|
|||
/** State of a single MIDI channel */
|
||||
struct ChannelState {
|
||||
Sequencer* m_parent = nullptr;
|
||||
uint8_t m_chanId;
|
||||
uint8_t m_chanId = 0;
|
||||
const SongGroupIndex::MIDISetup* m_setup = nullptr; /* Channel defaults to program 0 if null */
|
||||
const SongGroupIndex::PageEntry* m_page = nullptr;
|
||||
~ChannelState();
|
||||
|
|
Loading…
Reference in New Issue