ReXGlue SDK
Loading...
Searching...
No Matches
rex::apu::AudioSettings Class Referencefinal
Inheritance diagram for rex::apu::AudioSettings:
[legend]

Public Member Functions

 REX_SETTING (std::string, driver, "sdl3", "Audio driver, none for silence in an app that does not require audio", kStartupOnly)
 REX_SETTING (bool, mute, false, "Mute the audio output")
 REX_SETTING (bool, mute_unfocused, false, "Mute while the window does not have focus")
 REX_SETTING (f64, gain, 1.0, "Output gain, 1 is unity", Range{0.0, 4.0})
 REX_SETTING (f64, center, 1.0, "Center level on a surround device", Range{0.0, 2.0})
 REX_SETTING (f64, surround, 1.0, "Surround level on a surround device", Range{0.0, 2.0})
 REX_SETTING (f64, lfe, 1.0, "LFE level on a surround device", Range{0.0, 2.0})
 REX_SETTING (f64, peak_limit, 0.0, "Silence a stream that stays above this peak, 0 is off", Range{0.0, 8.0})
 REX_SETTING (u32, max_queued_frames, 8, "Frames a stream may queue", Range{4, 64}, kUntilLaunch)
Public Member Functions inherited from rex::SettingOwner
 SettingOwner (std::string_view scope)
virtual ~SettingOwner ()
const std::string & GetScope () const
std::span< SettingBase *const > GetOwnedSettings () const

Additional Inherited Members

Protected Member Functions inherited from rex::NonCopyable
 NonCopyable (const NonCopyable &)=delete
NonCopyable & operator= (const NonCopyable &)=delete

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