We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d34beee commit 75ded9bCopy full SHA for 75ded9b
src/api/SnapOutput.h
@@ -76,7 +76,7 @@ class SnapOutput : public AudioInfoSupport {
76
/// mute / unmute
77
void setMute(bool mute) {
78
is_mute = mute;
79
- vol_stream.setVolume(mute ? 0 : vol);
+ vol_stream.setVolume(mute ? 0 : vol * vol_factor);
80
audioWriteSilence();
81
}
82
@@ -153,6 +153,7 @@ class SnapOutput : public AudioInfoSupport {
153
vol_cfg.copyFrom(audio_info);
154
vol_cfg.allow_boost = true;
155
vol_stream.begin(vol_cfg);
156
+ vol_stream.setVolume(vol * vol_factor);
157
158
// open final output
159
out->setAudioInfo(audio_info);
0 commit comments