API (python)#

Module Summary:

omni.kit.audiodeviceenum

This module contains bindings to the C++ omni::audio::IAudioDeviceEnum

Module Details::

omni.kit.audiodeviceenum:

This module contains bindings to the C++ omni::audio::IAudioDeviceEnum interface. This provides functionality for enumerating available audio devices and collecting some basic information on each one.

Sound devices attached to the system may change at any point due to user activity (ie: connecting or unplugging a USB audio device). When enumerating devices, it is important to collect all device information directly instead of caching it.

The device information is suitable to be used to display to a user in a menu to allow them to choose a device to use by name.