diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-08 21:12:43 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-08 21:12:43 +1000 |
| commit | 733b246d6921ef0d2bbf0128edccc5b8e815104a (patch) | |
| tree | fdb933ec11df40f338d5fceca3d56e37c2931db4 /plugin | |
| parent | plugin/ap: fix collector (diff) | |
| download | caelestia-shell-733b246d6921ef0d2bbf0128edccc5b8e815104a.tar.gz caelestia-shell-733b246d6921ef0d2bbf0128edccc5b8e815104a.tar.bz2 caelestia-shell-733b246d6921ef0d2bbf0128edccc5b8e815104a.zip | |
plugin/ac: rt process
Diffstat (limited to '')
| -rw-r--r-- | plugin/src/Caelestia/audiocollector.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/src/Caelestia/audiocollector.cpp b/plugin/src/Caelestia/audiocollector.cpp index 817a310..60b2776 100644 --- a/plugin/src/Caelestia/audiocollector.cpp +++ b/plugin/src/Caelestia/audiocollector.cpp @@ -64,7 +64,9 @@ PipeWireWorker::PipeWireWorker(std::stop_token token, AudioCollector* collector) m_stream = pw_stream_new_simple(pw_main_loop_get_loop(m_loop), "caelestia-shell", props, &events, this); pw_stream_connect(m_stream, PW_DIRECTION_INPUT, PW_ID_ANY, - static_cast<pw_stream_flags>(PW_STREAM_FLAG_AUTOCONNECT | PW_STREAM_FLAG_MAP_BUFFERS), params, 1); + static_cast<pw_stream_flags>( + PW_STREAM_FLAG_AUTOCONNECT | PW_STREAM_FLAG_MAP_BUFFERS | PW_STREAM_FLAG_RT_PROCESS), + params, 1); pw_main_loop_run(m_loop); |