unreal.AudioOutputDeviceInfo

class unreal.AudioOutputDeviceInfo(name: str = '', device_id: str = '', num_channels: int = 0, sample_rate: int = 0, format: AudioMixerStreamDataFormatType = Ellipsis, output_channel_array: Array[AudioMixerChannelType] = [], 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] Device Id: ID of the device.

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

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

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

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

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

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

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

property device_id: str

[Read-Only] Device Id: ID of the device.

Type:

(str)

property format: AudioMixerStreamDataFormatType

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

Type:

(AudioMixerStreamDataFormatType)

property is_current_device: bool

[Read-Only] Is Current Device: Whether or not this device is the device currently in use

Type:

(bool)

property is_system_default: bool

[Read-Only] Is System Default: Whether or not this device is the system default

Type:

(bool)

property name: str

[Read-Only] Name: The name of the audio device

Type:

(str)

property num_channels: int

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

Type:

(int32)

property output_channel_array: Array[AudioMixerChannelType]

[Read-Only] Output Channel Array: The output channel array of the audio device

Type:

(Array[AudioMixerChannelType])

property sample_rate: int

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

Type:

(int32)