diff options
| author | Billy Laws <blaws05@gmail.com> | 2023-03-26 20:21:04 +0100 |
|---|---|---|
| committer | Billy Laws <blaws05@gmail.com> | 2023-03-27 22:01:41 +0100 |
| commit | 530fe24768357d4151ac6c6aca4a0e122ef8260a (patch) | |
| tree | 8c00084bd414502b7f911274b7ac6bd61626b37c /src/audio_core/sink/sdl2_sink.cpp | |
| parent | 237934b73690a56ff756d6e682fa336dee8c95a4 (diff) | |
audio_core: No longer stall when sink queue is full
Now the audout and audren update rates are tied to the sink status stalling is no longer necessary.
Diffstat (limited to 'src/audio_core/sink/sdl2_sink.cpp')
| -rw-r--r-- | src/audio_core/sink/sdl2_sink.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/audio_core/sink/sdl2_sink.cpp b/src/audio_core/sink/sdl2_sink.cpp index c138dc628..ee1a0652f 100644 --- a/src/audio_core/sink/sdl2_sink.cpp +++ b/src/audio_core/sink/sdl2_sink.cpp @@ -88,7 +88,6 @@ public: * Finalize the sink stream. */ void Finalize() override { - Unstall(); if (device == 0) { return; } @@ -116,7 +115,6 @@ public: * Stop the sink stream. */ void Stop() override { - Unstall(); if (device == 0 || paused) { return; } |
