diff options
| author | bunnei <bunneidev@gmail.com> | 2022-09-10 11:01:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-10 11:01:11 -0700 |
| commit | cd4b9bffb2d42b1f8d4386b251a35344891df55a (patch) | |
| tree | 53454fa29c30e9fa7f1f2c31f9586839d799f277 /src/audio_core/renderer/command/sink/device.cpp | |
| parent | 16080b6e4e28b49e0e320879ebbab34199fb81c2 (diff) | |
| parent | 2129d040a509754839b82b1ff6d387cb4f84f168 (diff) | |
Merge pull request #8842 from Kelebek1/AudOut
[audio_core] Rework audio output
Diffstat (limited to 'src/audio_core/renderer/command/sink/device.cpp')
| -rw-r--r-- | src/audio_core/renderer/command/sink/device.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio_core/renderer/command/sink/device.cpp b/src/audio_core/renderer/command/sink/device.cpp index 47e0c6722..e88372a75 100644 --- a/src/audio_core/renderer/command/sink/device.cpp +++ b/src/audio_core/renderer/command/sink/device.cpp @@ -46,6 +46,10 @@ void DeviceSinkCommand::Process(const ADSP::CommandListProcessor& processor) { out_buffer.tag = reinterpret_cast<u64>(samples.data()); stream->AppendBuffer(out_buffer, samples); + + if (stream->IsPaused()) { + stream->Start(); + } } bool DeviceSinkCommand::Verify(const ADSP::CommandListProcessor& processor) { |
