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 streamis_current_device
(bool): [Read-Write] Whether or not this device is the device currently in useis_system_default
(bool): [Read-Write] Whether or not this device is the system defaultname
(str): [Read-Write] The name of the audio devicenum_channels
(int32): [Read-Write] The number of channels supported by the audio deviceoutput_channel_array
(Array[AudioMixerChannelType]): [Read-Write] The output channel array of the audio devicesample_rate
(int32): [Read-Write] The sample rate of the audio device
- property format: AudioMixerStreamDataFormatType¶
[Read-Only] The data format of the audio stream
- Type:
- 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 num_channels: int¶
[Read-Only] The number of channels supported by the audio device
- Type:
(int32)