Skip to main content

Class: AudioConfig

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/AudioConfig.ts:6

A configuration object which defines audio options.

Implements

Constructors

Constructor

new AudioConfig(baseInstrument, element): AudioConfig

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/AudioConfig.ts:15

Creates a new AudioConfig from a configuration document element.

Parameters

ParameterTypeDescription
baseInstrumentBaseInstrumentThe BaseInstrument element associated with the configuration.
elementundefined | ElementA configuration document element.

Returns

AudioConfig

Properties

audioPanel?

readonly optional audioPanel: AudioPanelConfig

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/AudioConfig.ts:8

A config that defines options for the audio panel. If not defined, then the audio panel is not supported.