Defines a system audio device.
More...
#include <Device.h>
|
| | Device (uint32_t *id, string name, DeviceType t) |
| | Constructs an instance of the Device object. More...
|
| |
|
| ~Device () |
| | Deconstructs the device instance.
|
| |
| uint32_t * | getID () |
| | Get the ID of a system audio device. More...
|
| |
| void | setID (uint32_t *id) |
| | Set the ID of a system audio device. More...
|
| |
| string | getName () |
| | Get the name of the system audio device. More...
|
| |
| void | setName (string name) |
| | Set the name of the system audio device. More...
|
| |
| DeviceType | getType () |
| | Get the type of system audio device. More...
|
| |
| void | setType (DeviceType t) |
| | Set the type of system audio device. More...
|
| |
Defines a system audio device.
| Device::Device |
( |
uint32_t * |
id, |
|
|
string |
name, |
|
|
DeviceType |
t |
|
) |
| |
Constructs an instance of the Device object.
- Parameters
-
| id | ID of the audio device |
| name | Name of the audio device |
| t | DeviceType of the audio device |
| uint32_t * Device::getID |
( |
| ) |
|
Get the ID of a system audio device.
- Returns
- id Pointer to a integer
| string Device::getName |
( |
| ) |
|
Get the name of the system audio device.
- Returns
- name String representing the name of the device
| DeviceType Device::getType |
( |
| ) |
|
Get the type of system audio device.
- Returns
- type DeviceType enum value
| void Device::setID |
( |
uint32_t * |
id | ) |
|
Set the ID of a system audio device.
- Parameters
-
| id | Pointer to ID value due to Windows return values |
| void Device::setName |
( |
string |
name | ) |
|
Set the name of the system audio device.
- Parameters
-
| name | String representing the name of the device |
| void Device::setType |
( |
DeviceType |
t | ) |
|
Set the type of system audio device.
- Parameters
-
| type | DeviceType enum value |
The documentation for this class was generated from the following files: