vx_evt_audio_device_hot_swap
Learn how to select audio input and output devices.
阅读时间1 分钟最后更新于 12 天前
Raised when audio device changes are made that impact the audio capture or rendering experience, or when other audio devices are added or removed.
#include <VxcEvents.h>Public Attributes
Name | |
|---|---|
| vx_evt_base_t | base The common properties for all events. |
| vx_audio_device_hot_swap_event_type_t | event_type The type of hot swap event. |
| vx_device_t * | relevant_device In the case of vx_audio_device_hot_swap_event_type_active_render_device_changed or vx_audio_device_hot_swap_event_type_active_capture_device_changed, the new active device. |
| VX_HANDLE | account_handle The account handle of the user whose device was changed as a result of the hot swap event. |
Public Attributes Documentation
variable base
The common properties for all events.vx_evt_base_t base;
variable event_type
The type of hot swap event.vx_audio_device_hot_swap_event_type_t event_type;
variable relevant_device
In the case of vx_audio_device_hot_swap_event_type_active_render_device_changed or vx_audio_device_hot_swap_event_type_active_capture_device_changed, the new active device.vx_device_t * relevant_device;
variable account_handle
The account handle of the user whose device was changed as a result of the hot swap event. If no user is logged in, this field is a null pointer.VX_HANDLE account_handle;