OpenTTD Source 20241224-master-gf74b0cf984
|
Data Fields | |
std::shared_ptr< std::vector< uint8_t > > | data |
class RandomAccessFile * | file |
size_t | file_offset |
size_t | file_size |
uint16_t | rate |
uint8_t | bits_per_sample |
uint8_t | channels |
uint8_t | volume |
uint8_t | priority |
SoundSource | source |
uint8_t | grf_container_ver |
NewGRF container version if the sound is from a NewGRF. | |
Definition at line 19 of file sound_type.h.
uint8_t SoundEntry::bits_per_sample |
Definition at line 25 of file sound_type.h.
uint8_t SoundEntry::channels |
Definition at line 26 of file sound_type.h.
std::shared_ptr<std::vector<uint8_t> > SoundEntry::data |
Definition at line 20 of file sound_type.h.
class RandomAccessFile* SoundEntry::file |
Definition at line 21 of file sound_type.h.
size_t SoundEntry::file_offset |
Definition at line 22 of file sound_type.h.
size_t SoundEntry::file_size |
Definition at line 23 of file sound_type.h.
uint8_t SoundEntry::grf_container_ver |
NewGRF container version if the sound is from a NewGRF.
Definition at line 30 of file sound_type.h.
Referenced by ChangeSoundSet(), LoadGRFSound(), and LoadNewGRFSound().
uint8_t SoundEntry::priority |
Definition at line 28 of file sound_type.h.
uint16_t SoundEntry::rate |
Definition at line 24 of file sound_type.h.
SoundSource SoundEntry::source |
Definition at line 29 of file sound_type.h.
uint8_t SoundEntry::volume |
Definition at line 27 of file sound_type.h.