#include <soundmanagerconfig.h>
List of all members.
Detailed Description
Definition at line 30 of file soundmanagerconfig.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
SoundManagerConfig::SoundManagerConfig |
( |
| ) |
|
SoundManagerConfig::~SoundManagerConfig |
( |
| ) |
|
Member Function Documentation
void SoundManagerConfig::addInput |
( |
const QString & |
device, |
|
|
const AudioInput & |
in |
|
) |
| |
void SoundManagerConfig::addOutput |
( |
const QString & |
device, |
|
|
const AudioOutput & |
out |
|
) |
| |
bool SoundManagerConfig::checkAPI |
( |
const SoundManager & |
soundManager | ) |
|
Checks that the API in the object is valid according to the list of APIs given by SoundManager.
- Returns:
- false if the API is not found in SoundManager's list, otherwise true
Definition at line 158 of file soundmanagerconfig.cpp.
bool SoundManagerConfig::checkSampleRate |
( |
const SoundManager & |
soundManager | ) |
|
Checks that the sample rate in the object is valid according to the list of sample rates given by SoundManager.
- Returns:
- false if the sample rate is not found in SoundManager's list, otherwise true
Definition at line 180 of file soundmanagerconfig.cpp.
void SoundManagerConfig::clearInputs |
( |
| ) |
|
void SoundManagerConfig::clearOutputs |
( |
| ) |
|
void SoundManagerConfig::filterInputs |
( |
SoundManager * |
soundManager | ) |
|
void SoundManagerConfig::filterOutputs |
( |
SoundManager * |
soundManager | ) |
|
QString SoundManagerConfig::getAPI |
( |
| ) |
const |
unsigned int SoundManagerConfig::getFramesPerBuffer |
( |
| ) |
const |
QMultiHash< QString, AudioInput > SoundManagerConfig::getInputs |
( |
| ) |
const |
unsigned int SoundManagerConfig::getLatency |
( |
| ) |
const |
QMultiHash< QString, AudioOutput > SoundManagerConfig::getOutputs |
( |
| ) |
const |
unsigned int SoundManagerConfig::getSampleRate |
( |
| ) |
const |
void SoundManagerConfig::loadDefaults |
( |
SoundManager * |
soundManager, |
|
|
unsigned int |
flags |
|
) |
| |
Loads default values for API, master output, sample rate and/or latency.
- Parameters:
-
Definition at line 289 of file soundmanagerconfig.cpp.
bool SoundManagerConfig::readFromDisk |
( |
| ) |
|
void SoundManagerConfig::setAPI |
( |
const QString & |
api | ) |
|
void SoundManagerConfig::setLatency |
( |
unsigned int |
latency | ) |
|
Set the latency value.
- Warning:
- This IS NOT a value in milliseconds, or a number of frames per buffer. It is an index, where 1 is the first power-of-two buffer size (in frames) which corresponds to a latency greater than or equal to 1 ms, 2 is the second, etc. This is so that latency values are roughly equivalent between different sample rates.
Definition at line 212 of file soundmanagerconfig.cpp.
void SoundManagerConfig::setSampleRate |
( |
unsigned int |
sampleRate | ) |
|
bool SoundManagerConfig::writeToDisk |
( |
| ) |
const |
Member Data Documentation
The documentation for this class was generated from the following files: