![]() |
HulaLoop
Simple cross-platform audio loopback and recording.
|
Wrapper for OS specific device information. More...
#include <Device.h>
Public Member Functions | |
| Device (DeviceID id, std::string name, DeviceType t) | |
| Constructs an instance of the Device object. More... | |
| ~Device () | |
| Free any resources associated with the Device. More... | |
| DeviceID | getID () |
| Get the ID of a system audio device. More... | |
| std::string | getName () |
| Get the name of the system audio device. More... | |
| DeviceType | getType () |
| Get the type of system audio device. More... | |
Static Public Member Functions | |
| static void | deleteDevices (std::vector< Device *> devices) |
| Delete all the device pointers inside the vector. | |
Wrapper for OS specific device information.
| Device::Device | ( | DeviceID | id, |
| std::string | name, | ||
| DeviceType | t | ||
| ) |
Constructs an instance of the Device object.
| id | ID of the audio device |
| name | Name of the audio device |
| t | DeviceType of the audio device |
| DeviceID Device::getID | ( | ) |
Get the ID of a system audio device.
| std::string Device::getName | ( | ) |
Get the name of the system audio device.
| DeviceType Device::getType | ( | ) |
Get the type of system audio device.
1.8.13