20#ifndef VOLUMEHANDLER_H
21#define VOLUMEHANDLER_H
135 bool m_prev_block =
false;
136 std::atomic_bool m_muted = ATOMIC_VAR_INIT(
false);
137 std::atomic_bool m_apply = ATOMIC_VAR_INIT(
false);
139 double m_scaleLeft = 0, m_scaleRight = 0;
140 Volume *m_volume =
nullptr;
Audio buffer class.
Definition buffer.h:21
void mutedChanged(bool muted)
void setMuted(bool muted)
void changeVolume(int delta)
void balanceChanged(int balance)
void volumeChanged(int volume)
void setVolume(int volume)
void apply(Buffer *b, int chan)
static VolumeHandler * instance()
void setBalance(int balance)
void setVolume(int left, int right)
VolumeHandler(QObject *parent=nullptr)
The Volume class provides asbtract volume interface.
Definition volume.h:52
The VolumeSettings structure stores volume levels.
Definition volume.h:32