fix debian

This commit is contained in:
lizzie
2026-08-18 18:06:18 +00:00
committed by crueter
parent d432eca239
commit dab73ea765
@@ -78,10 +78,10 @@ void OpusDecoder::Init(std::stop_token stop_token) {
return; return;
} }
// Main OpusDecoder thread, responsible for processing the incoming Opus packets. // Main OpusDecoder thread, responsible for processing the incoming Opus packets.
main_thread = std::jthread([this](std::stop_token stop_token) { main_thread = std::jthread([this](std::stop_token thread_stop_token) {
Common::SetCurrentThreadName("DSP_OpusDecoder_Main"); Common::SetCurrentThreadName("DSP_OpusDecoder_Main");
while (!stop_token.stop_requested()) { while (!thread_stop_token.stop_requested()) {
auto msg = Receive(Direction::DSP, stop_token); auto msg = Receive(Direction::DSP, thread_stop_token);
switch (msg) { switch (msg) {
case Shutdown: case Shutdown:
Send(Direction::Host, Message::ShutdownOK); Send(Direction::Host, Message::ShutdownOK);