Skip to content

TSdlAudioDeviceEvent

Audio device event structure (Event.Audio.* )

Definition

Unit: Neslib.Sdl3.Events

type TSdlAudioDeviceEvent = record ... end;

Properties

Name Description
AudioDevice The device being added or removed or changing
AudioDeviceID ID for the device being added or removed or changing
IsRecording False if a playback device, True if a recording device.
Kind Event kind (TSdlEventKind.AudioDevice*)
Timestamp In nanoseconds, populated using SdlGetTicksNS

Property Descriptions

AudioDevice

The device being added or removed or changing

property AudioDevice: TSdlAudioDevice read GetAudioDevice

Type: TSdlAudioDevice


AudioDeviceID

ID for the device being added or removed or changing

property AudioDeviceID: TSdlAudioDeviceID read GetAudioDeviceID

Type: TSdlAudioDeviceID


IsRecording

False if a playback device, True if a recording device.

property IsRecording: Boolean read FHandle.recording

Type: Boolean


Kind

Event kind (TSdlEventKind.AudioDevice*)

property Kind: TSdlEventKind read GetKind

Type: TSdlEventKind


Timestamp

In nanoseconds, populated using SdlGetTicksNS

property Timestamp: UInt64 read FHandle.timestamp

Type: UInt64