unreal.AudioOutputDeviceInfo
¶
- class unreal.AudioOutputDeviceInfo(name='', device_id='', num_channels=0, sample_rate=0, format=AudioMixerStreamDataFormatType.UNKNOWN, output_channel_array=[], is_system_default=True, is_current_device=False)¶
Bases:
unreal.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¶
[Read-Only] Format: The data format of the audio stream
- property is_current_device¶
[Read-Only] Is Current Device: Whether or not this device is the device currently in use
- Type
(bool)
- property is_system_default¶
[Read-Only] Is System Default: Whether or not this device is the system default
- Type
(bool)
- property num_channels¶
[Read-Only] Num Channels: The number of channels supported by the audio device
- Type
(int32)
- property output_channel_array¶
[Read-Only] Output Channel Array: The output channel array of the audio device
- Type
- property sample_rate¶
[Read-Only] Sample Rate: The sample rate of the audio device
- Type
(int32)