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