More fixes for not inhibiting autosuspend

Makes sure the sink input monitor stream doesn't keep the monitor source
(and thus the sink) open.
This commit is contained in:
Arun Raghavan 2025-06-03 09:23:41 +05:30
parent 1f58c43347
commit cd7bd578ae

View file

@ -712,7 +712,7 @@ void MainWindow::createMonitorStreamForSinkInput(SinkInputWidget* w, uint32_t si
w->peak = NULL; 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) { void MainWindow::updateSource(const pa_source_info &info) {