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 streamis_current_device
(bool): [Read-Write] Is Current Device: Whether or not this device is the device currently in useis_system_default
(bool): [Read-Write] Is System Default: Whether or not this device is the system defaultname
(str): [Read-Write] Name: The name of the audio devicenum_channels
(int32): [Read-Write] Num Channels: The number of channels supported by the audio deviceoutput_channel_array
(Array[AudioMixerChannelType]): [Read-Write] Output Channel Array: The output channel array of the audio devicesample_rate
(int32): [Read-Write] Sample Rate: The sample rate of the audio device
- property format: AudioMixerStreamDataFormatType¶
[Read-Only] Format: The data format of the audio stream
- Type:
- 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 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: