diff options
Diffstat (limited to 'alc/backends/pipewire.cpp')
-rw-r--r-- | alc/backends/pipewire.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/backends/pipewire.cpp b/alc/backends/pipewire.cpp index efba0216..e450848b 100644 --- a/alc/backends/pipewire.cpp +++ b/alc/backends/pipewire.cpp @@ -1309,6 +1309,7 @@ ClockLatency PipeWirePlayback::getClockLatency() * CLOCK_MONOTONIC time closest to when that last tick was played). */ pw_time ptime{}; + if(mStream) { MainloopLockGuard _{mLoop}; if(int res{pw_stream_get_time(mStream.get(), &ptime)}) |