From cd7bd578aed022a3dc9c2c7c111519f940435c83 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Tue, 3 Jun 2025 09:23:41 +0530 Subject: [PATCH] More fixes for not inhibiting autosuspend Makes sure the sink input monitor stream doesn't keep the monitor source (and thus the sink) open. --- src/mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {