Audio hardware input selection for a track.
More...
#include <src/dsp/audio_input_selection.h>
|
| | AudioInputSelection (QObject *parent=nullptr) |
|
QString | deviceName () const |
|
void | setDeviceName (const QString &name) |
|
Q_SIGNAL void | deviceNameChanged () |
| int | firstChannel () const |
|
void | setFirstChannel (int channel) |
|
Q_SIGNAL void | firstChannelChanged () |
| bool | stereo () const |
|
void | setStereo (bool s) |
|
Q_SIGNAL void | stereoChanged () |
|
|
bool | operator== (const AudioInputSelection &a, const AudioInputSelection &b) |
|
void | to_json (nlohmann::json &j, const AudioInputSelection &sel) |
|
void | from_json (const nlohmann::json &j, AudioInputSelection &sel) |
Audio hardware input selection for a track.
Stores which audio device and channels to use as input. An empty device name means no input is selected.
Definition at line 27 of file audio_input_selection.h.
◆ AudioInputSelection()
| zrythm::dsp::AudioInputSelection::AudioInputSelection |
( |
QObject * | parent = nullptr | ) |
|
|
inlineexplicit |
◆ firstChannel()
| int zrythm::dsp::AudioInputSelection::firstChannel |
( |
| ) |
const |
|
inline |
◆ stereo()
| bool zrythm::dsp::AudioInputSelection::stereo |
( |
| ) |
const |
|
inline |
◆ kDeviceNameKey
| auto zrythm::dsp::AudioInputSelection::kDeviceNameKey = "deviceName"sv |
|
staticconstexpr |
◆ kFirstChannelKey
| auto zrythm::dsp::AudioInputSelection::kFirstChannelKey = "firstChannel"sv |
|
staticconstexpr |
◆ kStereoKey
| auto zrythm::dsp::AudioInputSelection::kStereoKey = "stereo"sv |
|
staticconstexpr |
◆ deviceName
| QString zrythm::dsp::AudioInputSelection::deviceName |
|
readwrite |
◆ firstChannel
| int zrythm::dsp::AudioInputSelection::firstChannel |
|
readwrite |
◆ stereo
| bool zrythm::dsp::AudioInputSelection::stereo |
|
readwrite |
The documentation for this class was generated from the following file: