OpenTTD Source 20250312-master-gcdcc6b491d
|
Starting parameter and playback status for one channel/track. More...
Data Fields | |
uint8_t | cur_program = 0xFF |
program selected, used for velocity scaling (lookup into programvelocities array) | |
uint8_t | running_status = 0 |
last midi status code seen | |
uint16_t | delay = 0 |
frames until next command | |
uint32_t | playpos = 0 |
next byte to play this channel from | |
uint32_t | startpos = 0 |
start position of master track | |
uint32_t | returnpos = 0 |
next return position after playing a segment | |
Starting parameter and playback status for one channel/track.
Definition at line 497 of file midifile.cpp.
uint8_t MpsMachine::Channel::cur_program = 0xFF |
program selected, used for velocity scaling (lookup into programvelocities array)
Definition at line 498 of file midifile.cpp.
Referenced by MpsMachine::PlayChannelFrame().
uint16_t MpsMachine::Channel::delay = 0 |
frames until next command
Definition at line 500 of file midifile.cpp.
Referenced by MpsMachine::PlayFrame(), and MpsMachine::RestartSong().
uint32_t MpsMachine::Channel::playpos = 0 |
next byte to play this channel from
Definition at line 501 of file midifile.cpp.
Referenced by MpsMachine::PlayChannelFrame(), MpsMachine::PlayFrame(), and MpsMachine::RestartSong().
uint32_t MpsMachine::Channel::returnpos = 0 |
next return position after playing a segment
Definition at line 503 of file midifile.cpp.
Referenced by MpsMachine::PlayChannelFrame().
uint8_t MpsMachine::Channel::running_status = 0 |
last midi status code seen
Definition at line 499 of file midifile.cpp.
Referenced by MpsMachine::PlayChannelFrame().
uint32_t MpsMachine::Channel::startpos = 0 |
start position of master track
Definition at line 502 of file midifile.cpp.
Referenced by MpsMachine::RestartSong().