The JackWorker class is responsible for managing the Jack audio server and audio client engine.
More...
#include <JackWorker.h>
|
void | jackEngineStatus (QString) |
| Signal emitted when the Jack server's status changes.
|
|
void | updateCPULoad (float) |
| Signal emitted when the CPU load method is pinged.
|
|
void | finished () |
| Signal emitted when the Jack server is finished.
|
|
The JackWorker class is responsible for managing the Jack audio server and audio client engine.
JackWorker is a QObject that handles interactions with the Jack audio server. It manages an instance of JackClientAudioEngine, handles signals and slots for managing the server and updating settings, and communicates server status updates through the jackEngineStatus signal.
◆ JackWorker()
JackWorker::JackWorker |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
Constructs a JackWorker object.
- Parameters
-
parent | The parent QObject. |
◆ isAudioEngineRunning()
bool JackWorker::isAudioEngineRunning |
( |
| ) |
|
Checks if the audio engine is running.
- Returns
- True if the audio engine is running, false otherwise.
◆ jackEngineStatus
void JackWorker::jackEngineStatus |
( |
QString |
_t1 | ) |
|
|
signal |
Signal emitted when the Jack server's status changes.
- Parameters
-
status | The new status of the Jack server. |
◆ pingCPULoad
void JackWorker::pingCPULoad |
( |
| ) |
|
|
slot |
Ping for CPU Load.
- Parameters
-
Ping | the AudioEngine for current CPU Load. |
◆ setActiveFilterType
void JackWorker::setActiveFilterType |
( |
FilterType |
filterType | ) |
|
|
slot |
Sets the active filter type.
- Parameters
-
filterType | The new active filter type. |
◆ setAudioFile
void JackWorker::setAudioFile |
( |
AudioFile< float > |
file | ) |
|
|
slot |
Sets the audio file.
- Parameters
-
◆ setAudioSource
void JackWorker::setAudioSource |
( |
SourceType |
type | ) |
|
|
slot |
Sets the audio source.
- Parameters
-
type | The type of the audio source. |
◆ setFilterConfig
void JackWorker::setFilterConfig |
( |
int |
frequency, |
|
|
int |
gain |
|
) |
| |
|
slot |
Sets the filter configuration.
- Parameters
-
frequency | The new filter frequency. |
gain | The new filter gain. |
◆ setIsPlayingModified
void JackWorker::setIsPlayingModified |
( |
bool |
playingModified | ) |
|
|
slot |
Sets whether the audio is playing modified.
- Parameters
-
playingModified | True if the audio should be played modified, false otherwise. |
◆ setVolumeLevel
void JackWorker::setVolumeLevel |
( |
int |
level | ) |
|
|
slot |
Sets the volume level.
- Parameters
-
level | The new volume level. |
◆ updateCPULoad
void JackWorker::updateCPULoad |
( |
float |
_t1 | ) |
|
|
signal |
Signal emitted when the CPU load method is pinged.
- Parameters
-
load | Current DSP CPU load in floating point. |
The documentation for this class was generated from the following files:
- include/JackWorker.h
- release/AudibleT_autogen/6YEA5652QU/moc_JackWorker.cpp
- release/AudibleTBenchmarks_autogen/6YEA5652QU/moc_JackWorker.cpp
- release/AudibleTTests_autogen/6YEA5652QU/moc_JackWorker.cpp
- src/JackWorker.cpp