src/mainwindow.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 4 10:56:19 UTC 2025
src/mainwindow.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cd7bd578aed022a3dc9c2c7c111519f940435c83
Author: Arun Raghavan <arun at asymptotic.io>
Date: Tue Jun 3 09:23:41 2025 +0530
More fixes for not inhibiting autosuspend
Makes sure the sink input monitor stream doesn't keep the monitor source
(and thus the sink) open.
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 0f136f7..fa4b48e 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -712,7 +712,7 @@ void MainWindow::createMonitorStreamForSinkInput(SinkInputWidget* w, uint32_t si
w->peak = NULL;
}
- w->peak = createMonitorStreamForSource(sinkWidgets[sink_idx]->monitor_index, w->index);
+ w->peak = createMonitorStreamForSource(sinkWidgets[sink_idx]->monitor_index, w->index, true);
}
void MainWindow::updateSource(const pa_source_info &info) {
More information about the pulseaudio-commits
mailing list