![]() |
HulaLoop
Simple cross-platform audio loopback and recording.
|
Class containing all settings pertinent to the audio module. More...
#include <HulaAudioSettings.h>

Public Member Functions | |
| bool | getShowRecordDevices () |
| Getters. More... | |
| int | getNumberOfChannels () |
| Get the number of channels for the current global device configuration. More... | |
| int | getSampleRate () |
| Get the number of channels for the current global device configuration. More... | |
| int | getSampleSize () |
| Get the sample size for the current global device configuration. More... | |
| void | setShowRecordDevices (bool) |
| Setters. More... | |
| void | setNumberOfChannels (int) |
| Set the number of channels for the current global device configuration. More... | |
| void | setSampleRate (int) |
| Set the number of channels for the current global device configuration. More... | |
| void | setSampleSize (int) |
| Set the sample size for the current global device configuration. More... | |
| ~HulaAudioSettings () | |
| Destructor for HulaAudioSettings. | |
Static Public Member Functions | |
| static HulaAudioSettings * | getInstance () |
| Retreive the singular instance of HulaSettings or construct a new one if none exists. More... | |
Protected Member Functions | |
| HulaAudioSettings () | |
| Private constructor to enforce the singleton pattern. More... | |
Class containing all settings pertinent to the audio module.
|
protected |
Private constructor to enforce the singleton pattern.
Initializes all settings to default values.
|
static |
Retreive the singular instance of HulaSettings or construct a new one if none exists.
| int HulaAudioSettings::getNumberOfChannels | ( | ) |
Get the number of channels for the current global device configuration.
This is the configuration that buffers and output files have been setup for. Changing it mid-anything may break stuff.
| int HulaAudioSettings::getSampleRate | ( | ) |
Get the number of channels for the current global device configuration.
This is the configuration that buffers and output files have been setup for. Changing it mid-anything may break stuff.
| int HulaAudioSettings::getSampleSize | ( | ) |
Get the sample size for the current global device configuration.
This is the configuration that buffers and output files have been setup for. Changing it mid-anything may break stuff.
| bool HulaAudioSettings::getShowRecordDevices | ( | ) |
Getters.
Determine whether or not true record devices (i.e.
microphones) should be displayed in device lists.
| void HulaAudioSettings::setNumberOfChannels | ( | int | val | ) |
Set the number of channels for the current global device configuration.
This is the configuration that buffers and output files have been setup for. Changing it mid-anything may break stuff.
| val | Number of channels that the application is currently configured for |
| void HulaAudioSettings::setSampleRate | ( | int | val | ) |
Set the number of channels for the current global device configuration.
This is the configuration that buffers and output files have been setup for. Changing it mid-anything may break stuff.
| val | Sample rate that the application is currentlyy configured for |
| void HulaAudioSettings::setSampleSize | ( | int | val | ) |
Set the sample size for the current global device configuration.
This is the configuration that buffers and output files have been setup for. Changing it mid-anything may break stuff.
| val | Sample size that the application is currently configured for |
| void HulaAudioSettings::setShowRecordDevices | ( | bool | val | ) |
Setters.
Set whether or not true record devices (i.e.
microphones) should be displayed in the device lists.
| val | Value of option. |
1.8.11