OpenTTD Source: MidiFile::TempoChange Struct Reference

OpenTTD Source 15.0-beta1

Public Member Functions | Data Fields
MidiFile::TempoChange Struct Reference

## Public Member Functions
| TempoChange (uint32_t _ticktime, uint32_t _tempo)

## Data Fields
uint32_t | ticktime
| tick number since start of file this tempo change occurs at
uint32_t | tempo
| new tempo in microseconds per tick

## Detailed Description

Definition at line 26 of file midifile.hpp.

## Constructor & Destructor Documentation

## ◆ TempoChange()

MidiFile::TempoChange::TempoChange | ( | uint32_t | _ticktime,
|  | uint32_t | _tempo
| ) |  |
| inline

Definition at line 29 of file midifile.hpp.

## Field Documentation

## ◆ tempo

uint32_t MidiFile::TempoChange::tempo

new tempo in microseconds per tick

Definition at line 28 of file midifile.hpp.

Referenced by MidiFile::WriteSMF().

## ◆ ticktime

uint32_t MidiFile::TempoChange::ticktime

tick number since start of file this tempo change occurs at

Definition at line 27 of file midifile.hpp.

Referenced by MidiFile::WriteSMF().

The documentation for this struct was generated from the following file:

- src/music/midifile.hpp