unreal.AudioOutputDeviceInfo

class unreal.AudioOutputDeviceInfo(name: str = '', device_id: str = '', num_channels: int = 0, sample_rate: int = 0, format: AudioMixerStreamDataFormatType = Ellipsis, output_channel_array: None = [], is_system_default: bool = False, is_current_device: bool = False)

Bases: StructBase

Platform audio output device info, in a Blueprint-readable format

C++ Source:

  • Module: AudioMixer

  • File: AudioMixerBlueprintLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • device_id (str): [Read-Write] ID of the device.

  • format (AudioMixerStreamDataFormatType): [Read-Write] The data format of the audio stream

  • is_current_device (bool): [Read-Write] Whether or not this device is the device currently in use

  • is_system_default (bool): [Read-Write] Whether or not this device is the system default

  • name (str): [Read-Write] The name of the audio device

  • num_channels (int32): [Read-Write] The number of channels supported by the audio device

  • output_channel_array (Array[AudioMixerChannelType]): [Read-Write] The output channel array of the audio device

  • sample_rate (int32): [Read-Write] The sample rate of the audio device

property device_id: str

[Read-Only] ID of the device.

Type:

(str)

property format: AudioMixerStreamDataFormatType

[Read-Only] The data format of the audio stream

Type:

(AudioMixerStreamDataFormatType)

property is_current_device: bool

[Read-Only] Whether or not this device is the device currently in use

Type:

(bool)

property is_system_default: bool

[Read-Only] Whether or not this device is the system default

Type:

(bool)

property name: str

[Read-Only] The name of the audio device

Type:

(str)

property num_channels: int

[Read-Only] The number of channels supported by the audio device

Type:

(int32)

property output_channel_array: None

[Read-Only] The output channel array of the audio device

Type:

(Array[AudioMixerChannelType])

property sample_rate: int

[Read-Only] The sample rate of the audio device

Type:

(int32)