OpenTTD Source 20260311-master-g511d3794ce
MixerChannel Struct Reference

Data Fields

std::shared_ptr< std::vector< std::byte > > memory
 Pointer to allocated buffer memory.
uint32_t pos
 Current position in memory.
uint32_t frac_pos
uint32_t frac_speed
uint32_t samples_left
bool is16bit
int volume_left
int volume_right

Detailed Description

Definition at line 20 of file mixer.cpp.

Field Documentation

◆ frac_pos

uint32_t MixerChannel::frac_pos

Definition at line 26 of file mixer.cpp.

◆ frac_speed

uint32_t MixerChannel::frac_speed

Definition at line 27 of file mixer.cpp.

◆ is16bit

bool MixerChannel::is16bit

Definition at line 36 of file mixer.cpp.

◆ memory

std::shared_ptr<std::vector<std::byte> > MixerChannel::memory

Pointer to allocated buffer memory.

Definition at line 22 of file mixer.cpp.

◆ pos

uint32_t MixerChannel::pos

Current position in memory.

Definition at line 25 of file mixer.cpp.

◆ samples_left

uint32_t MixerChannel::samples_left

Definition at line 28 of file mixer.cpp.

◆ volume_left

int MixerChannel::volume_left

Mixing volume.

Definition at line 32 of file mixer.cpp.

Referenced by MxSetChannelVolume().

◆ volume_right

int MixerChannel::volume_right

Mixing volume.

Definition at line 33 of file mixer.cpp.

Referenced by MxSetChannelVolume().


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