openMSX
Classes | Public Member Functions | Public Attributes | List of all members
openmsx::MSXMixer::SoundDeviceInfo Struct Reference

#include <MSXMixer.hh>

Collaboration diagram for openmsx::MSXMixer::SoundDeviceInfo:
Collaboration graph
[legend]

Classes

struct  ChannelSettings
 

Public Member Functions

 SoundDeviceInfo (unsigned numChannels)
 

Public Attributes

SoundDevicedevice = nullptr
 
std::unique_ptr< IntegerSettingvolumeSetting
 
std::unique_ptr< IntegerSettingbalanceSetting
 
dynarray< ChannelSettingschannelSettings
 
float defaultVolume = 0.f
 
float left1 = 0.f
 
float right1 = 0.f
 
float left2 = 0.f
 
float right2 = 0.f
 

Detailed Description

Definition at line 41 of file MSXMixer.hh.

Constructor & Destructor Documentation

◆ SoundDeviceInfo()

openmsx::MSXMixer::SoundDeviceInfo::SoundDeviceInfo ( unsigned  numChannels)
explicit

Definition at line 77 of file MSXMixer.cc.

Member Data Documentation

◆ balanceSetting

std::unique_ptr<IntegerSetting> openmsx::MSXMixer::SoundDeviceInfo::balanceSetting

Definition at line 46 of file MSXMixer.hh.

Referenced by openmsx::MSXMixer::registerSound().

◆ channelSettings

dynarray<ChannelSettings> openmsx::MSXMixer::SoundDeviceInfo::channelSettings

Definition at line 51 of file MSXMixer.hh.

Referenced by openmsx::MSXMixer::registerSound().

◆ defaultVolume

float openmsx::MSXMixer::SoundDeviceInfo::defaultVolume = 0.f

Definition at line 52 of file MSXMixer.hh.

Referenced by openmsx::MSXMixer::registerSound().

◆ device

SoundDevice* openmsx::MSXMixer::SoundDeviceInfo::device = nullptr

◆ left1

float openmsx::MSXMixer::SoundDeviceInfo::left1 = 0.f

Definition at line 53 of file MSXMixer.hh.

◆ left2

float openmsx::MSXMixer::SoundDeviceInfo::left2 = 0.f

Definition at line 53 of file MSXMixer.hh.

◆ right1

float openmsx::MSXMixer::SoundDeviceInfo::right1 = 0.f

Definition at line 53 of file MSXMixer.hh.

◆ right2

float openmsx::MSXMixer::SoundDeviceInfo::right2 = 0.f

Definition at line 53 of file MSXMixer.hh.

◆ volumeSetting

std::unique_ptr<IntegerSetting> openmsx::MSXMixer::SoundDeviceInfo::volumeSetting

Definition at line 45 of file MSXMixer.hh.

Referenced by openmsx::MSXMixer::registerSound().


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