Engage Engine API
1.251.9091
|
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 () |
![]() | |
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. | |
![]() | |
nlohmann::json | _attached |
Additional Inherited Members | |
![]() | |
bool | _documenting |
Custom Audio Device Configuration.
Helper C++ class to serialize and de-serialize AudioDeviceDescriptor JSON used in engageAudioDeviceRegister API.
Example:
Definition at line 3526 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 3534 of file ConfigurationObjects.h.
|
inline |
Definition at line 3612 of file ConfigurationObjects.h.
|
inline |
Definition at line 3617 of file ConfigurationObjects.h.
|
inlinevirtual |
Reimplemented from AppConfigurationObjects::ConfigurationObjectBase.
Definition at line 3637 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 3580 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 3569 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 3553 of file ConfigurationObjects.h.
Direction_t AppConfigurationObjects::AudioDeviceDescriptor::direction |
Audio direction the device supports.
Definition at line 3572 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::AudioDeviceDescriptor::extra |
Extra data provided by the platform (if any)
Definition at line 3607 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::AudioDeviceDescriptor::hardwareId |
Device hardware ID (if any)
Definition at line 3595 of file ConfigurationObjects.h.
bool AppConfigurationObjects::AudioDeviceDescriptor::isAdad |
True if the device is an Application-Defined Audio Device.
Definition at line 3583 of file ConfigurationObjects.h.
bool AppConfigurationObjects::AudioDeviceDescriptor::isDefault |
True if this is the default device for the direction above.
Definition at line 3601 of file ConfigurationObjects.h.
bool AppConfigurationObjects::AudioDeviceDescriptor::isPresent |
True if the device is currently present on the system.
Definition at line 3610 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::AudioDeviceDescriptor::manufacturer |
Device manufacturer (if any)
Definition at line 3589 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::AudioDeviceDescriptor::model |
Device mode (if any)
Definition at line 3592 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::AudioDeviceDescriptor::name |
Name of the device assigned by the platform.
Definition at line 3586 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 3561 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::AudioDeviceDescriptor::serialNumber |
Device serial number (if any)
Definition at line 3598 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::AudioDeviceDescriptor::type |
Device type (if any)
Definition at line 3604 of file ConfigurationObjects.h.