Class

SimulatorAudio

USI.Core

Keeps simulator-wide sound preferences separate from aircraft radios, warning-system volume, and application audio playback.

public sealed class SimulatorAudio : ISimulatorAudio

Events

OutputChanged

public event EventHandler<SimulatorAudioOutputChangedEventArgs> OutputChanged

Methods

TryGetAvionicsFanVolumeAsync

public Task<USIResult<Double>> TryGetAvionicsFanVolumeAsync()

TryGetCameraInsideAircraftSoundRegionAsync

public Task<USIResult<Boolean>> TryGetCameraInsideAircraftSoundRegionAsync()

TryGetCommunicationsRadioVolumeAsync

public Task<USIResult<Double>> TryGetCommunicationsRadioVolumeAsync()

TryGetCopilotRadioVolumeAsync

public Task<USIResult<Double>> TryGetCopilotRadioVolumeAsync()

TryGetCopilotVoiceVolumeAsync

public Task<USIResult<Double>> TryGetCopilotVoiceVolumeAsync()

TryGetEnabledAsync

public Task<USIResult<Boolean>> TryGetEnabledAsync()

TryGetEngineEffectsVolumeAsync

public Task<USIResult<Double>> TryGetEngineEffectsVolumeAsync()

TryGetEnvironmentVolumeAsync

public Task<USIResult<Double>> TryGetEnvironmentVolumeAsync()

TryGetExteriorEffectsVolumeAsync

public Task<USIResult<Double>> TryGetExteriorEffectsVolumeAsync()

TryGetGroundContactEffectsVolumeAsync

public Task<USIResult<Double>> TryGetGroundContactEffectsVolumeAsync()

TryGetInteriorEffectsVolumeAsync

public Task<USIResult<Double>> TryGetInteriorEffectsVolumeAsync()

TryGetMasterVolumeAsync

public Task<USIResult<Double>> TryGetMasterVolumeAsync()

TryGetPilotVoiceVolumeAsync

public Task<USIResult<Double>> TryGetPilotVoiceVolumeAsync()

TryGetPropellerEffectsVolumeAsync

public Task<USIResult<Double>> TryGetPropellerEffectsVolumeAsync()

TryGetRadioHeadsetSourceAsync

public Task<USIResult<SimulatorRadioHeadsetSource>> TryGetRadioHeadsetSourceAsync()

TryGetSoundOutputAvailableAsync

public Task<USIResult<Boolean>> TryGetSoundOutputAvailableAsync()

TryGetSpeechEnabledAsync

public Task<USIResult<Boolean>> TryGetSpeechEnabledAsync()

TryGetSpeechSynthesisAvailableAsync

public Task<USIResult<Boolean>> TryGetSpeechSynthesisAvailableAsync()

TryGetUserInterfaceEffectsVolumeAsync

public Task<USIResult<Double>> TryGetUserInterfaceEffectsVolumeAsync()

TryGetWeatherEffectsVolumeAsync

public Task<USIResult<Double>> TryGetWeatherEffectsVolumeAsync()

TrySetAvionicsFanVolumeAsync

public Task<USIResult> TrySetAvionicsFanVolumeAsync(double ratio)

TrySetCommunicationsRadioVolumeAsync

public Task<USIResult> TrySetCommunicationsRadioVolumeAsync(double ratio)

TrySetCopilotRadioVolumeAsync

public Task<USIResult> TrySetCopilotRadioVolumeAsync(double ratio)

TrySetCopilotVoiceVolumeAsync

public Task<USIResult> TrySetCopilotVoiceVolumeAsync(double ratio)

TrySetEnabledAsync

public Task<USIResult> TrySetEnabledAsync(bool enabled)

TrySetEngineEffectsVolumeAsync

public Task<USIResult> TrySetEngineEffectsVolumeAsync(double ratio)

TrySetEnvironmentVolumeAsync

public Task<USIResult> TrySetEnvironmentVolumeAsync(double ratio)

TrySetExteriorEffectsVolumeAsync

public Task<USIResult> TrySetExteriorEffectsVolumeAsync(double ratio)

TrySetGroundContactEffectsVolumeAsync

public Task<USIResult> TrySetGroundContactEffectsVolumeAsync(double ratio)

TrySetInteriorEffectsVolumeAsync

public Task<USIResult> TrySetInteriorEffectsVolumeAsync(double ratio)

TrySetMasterVolumeAsync

public Task<USIResult> TrySetMasterVolumeAsync(double ratio)

TrySetPilotVoiceVolumeAsync

public Task<USIResult> TrySetPilotVoiceVolumeAsync(double ratio)

TrySetPropellerEffectsVolumeAsync

public Task<USIResult> TrySetPropellerEffectsVolumeAsync(double ratio)

TrySetSpeechEnabledAsync

public Task<USIResult> TrySetSpeechEnabledAsync(bool enabled)

TrySetUserInterfaceEffectsVolumeAsync

public Task<USIResult> TrySetUserInterfaceEffectsVolumeAsync(double ratio)

TrySetWeatherEffectsVolumeAsync

public Task<USIResult> TrySetWeatherEffectsVolumeAsync(double ratio)

TrySpeakAsync

public Task<USIResult> TrySpeakAsync(string text)