|
Engage Engine API
1.244.9084
|
Custom Audio Device Configuration. More...
#include <ConfigurationObjects.h>
Inherits AppConfigurationObjects::ConfigurationObjectBase.
Public Types | |
| enum | Direction_t { dirUnknown = 0 , dirInput , dirOutput , dirBoth } |
| Audio Device Direction Enum. More... | |
Public Member Functions | |
| void | clear () |
| virtual std::string | toString () |
Public Member Functions inherited from AppConfigurationObjects::ConfigurationObjectBase | |
| virtual void | initForDocumenting () |
| virtual bool | isDocumenting () const |
Public Attributes | |
| int | deviceId |
| [Read Only] Unique device identifier assigned by Engage Engine at time of device creation. | |
| int | samplingRate |
| This is the rate that the device will process the PCM audio data at. | |
| int | channels |
| Indicates the number of audio channels to process. | |
| Direction_t | direction |
| Audio direction the device supports. | |
| int | boostPercentage |
| A percentage at which to gain/attenuate the audio. | |
| bool | isAdad |
| True if the device is an Application-Defined Audio Device. | |
| std::string | name |
| Name of the device assigned by the platform. | |
| std::string | manufacturer |
| Device manufacturer (if any) | |
| std::string | model |
| Device mode (if any) | |
| std::string | hardwareId |
| Device hardware ID (if any) | |
| std::string | serialNumber |
| Device serial number (if any) | |
| bool | isDefault |
| True if this is the default device for the direction above. | |
| std::string | type |
| Device type (if any) | |
| std::string | extra |
| Extra data provided by the platform (if any) | |
| bool | isPresent |
| True if the device is currently present on the system. | |
Public Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
| nlohmann::json | _attached |
Additional Inherited Members | |
Protected Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
| bool | _documenting |
Custom Audio Device Configuration.
Helper C++ class to serialize and de-serialize AudioDeviceDescriptor JSON used in engageAudioDeviceRegister API.
Example:
Definition at line 3346 of file ConfigurationObjects.h.
Audio Device Direction Enum.
| Enumerator | |
|---|---|
| dirUnknown | Direction unknown. |
| dirInput | This is an input only device. |
| dirOutput | This is an output only device. |
| dirBoth | This device supports both input and output. |
Definition at line 3354 of file ConfigurationObjects.h.
|
inline |
Definition at line 3432 of file ConfigurationObjects.h.
|
inline |
Definition at line 3437 of file ConfigurationObjects.h.
|
inlinevirtual |
Reimplemented from AppConfigurationObjects::ConfigurationObjectBase.
Definition at line 3457 of file ConfigurationObjects.h.
| int AppConfigurationObjects::AudioDeviceDescriptor::boostPercentage |
A percentage at which to gain/attenuate the audio.
Values above 100% will gain the level, values below will attenuate.
Definition at line 3400 of file ConfigurationObjects.h.
| int AppConfigurationObjects::AudioDeviceDescriptor::channels |
Indicates the number of audio channels to process.
Valid values are 1 (mono) and 2 (stereo).
Definition at line 3389 of file ConfigurationObjects.h.
| int AppConfigurationObjects::AudioDeviceDescriptor::deviceId |
[Read Only] Unique device identifier assigned by Engage Engine at time of device creation.
Definition at line 3373 of file ConfigurationObjects.h.
| Direction_t AppConfigurationObjects::AudioDeviceDescriptor::direction |
Audio direction the device supports.
Definition at line 3392 of file ConfigurationObjects.h.
| std::string AppConfigurationObjects::AudioDeviceDescriptor::extra |
Extra data provided by the platform (if any)
Definition at line 3427 of file ConfigurationObjects.h.
| std::string AppConfigurationObjects::AudioDeviceDescriptor::hardwareId |
Device hardware ID (if any)
Definition at line 3415 of file ConfigurationObjects.h.
| bool AppConfigurationObjects::AudioDeviceDescriptor::isAdad |
True if the device is an Application-Defined Audio Device.
Definition at line 3403 of file ConfigurationObjects.h.
| bool AppConfigurationObjects::AudioDeviceDescriptor::isDefault |
True if this is the default device for the direction above.
Definition at line 3421 of file ConfigurationObjects.h.
| bool AppConfigurationObjects::AudioDeviceDescriptor::isPresent |
True if the device is currently present on the system.
Definition at line 3430 of file ConfigurationObjects.h.
| std::string AppConfigurationObjects::AudioDeviceDescriptor::manufacturer |
Device manufacturer (if any)
Definition at line 3409 of file ConfigurationObjects.h.
| std::string AppConfigurationObjects::AudioDeviceDescriptor::model |
Device mode (if any)
Definition at line 3412 of file ConfigurationObjects.h.
| std::string AppConfigurationObjects::AudioDeviceDescriptor::name |
Name of the device assigned by the platform.
Definition at line 3406 of file ConfigurationObjects.h.
| int AppConfigurationObjects::AudioDeviceDescriptor::samplingRate |
This is the rate that the device will process the PCM audio data at.
Valid values are 8000 and 16000.
Definition at line 3381 of file ConfigurationObjects.h.
| std::string AppConfigurationObjects::AudioDeviceDescriptor::serialNumber |
Device serial number (if any)
Definition at line 3418 of file ConfigurationObjects.h.
| std::string AppConfigurationObjects::AudioDeviceDescriptor::type |
Device type (if any)
Definition at line 3424 of file ConfigurationObjects.h.