This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
Полезные советы
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Программирование
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Unigine.Sounds Class

The Sounds class contains methods for handling the sound output source.

Sounds Class

Properties

string CurrentDeviceName#

The name of the currently used device.
set
Changes the current device name thus changing the used current device. Only names got by the getDeviceName() method are supported.
set value - The new name of the device.

string DefaultDeviceName#

The name of the device set in its system by default.

int NumDevices#

The total number of the available devices.

bool IsDeviceEnumerationSupported#

The value indicating if the device enumeration is supported. if it is not, the further actions (for example, getting the device name) won't be possible.

bool IsDeviceConnected#

Members


string GetDeviceName ( int num ) #

Returns the name of the device by its index.

Arguments

  • int num - The index of the device.

Return value

The name of the device.

void UpdateDeviceList ( ) #

Updates the list of available devices each 5 seconds.
Last update: 31.07.2020
Build: ()