#include <AudioDevice.hpp>
Handle to operating system's audio management application
Definition at line 38 of file AudioDevice.hpp.
jop::AudioDevice::AudioDevice |
( |
| ) |
|
Default constructor.
Initializes preferred device for output audio
jop::AudioDevice::~AudioDevice |
( |
| ) |
|
|
override |
static std::string jop::AudioDevice::getAllDeviceNames |
( |
| ) |
|
|
static |
- Returns
- All audio device names
static ALCcontext_struct& jop::AudioDevice::getContext |
( |
| ) |
|
|
static |
static ALCdevice_struct& jop::AudioDevice::getDevice |
( |
| ) |
|
|
static |
static std::string jop::AudioDevice::getDeviceName |
( |
| ) |
|
|
static |
- Returns
- Default audio device's name
static void jop::AudioDevice::setDevice |
( |
const std::string & |
device | ) |
|
|
static |
Set new device for audio output.
- Parameters
-
device | Audio device's name |
The documentation for this class was generated from the following file: