diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-01-20 09:48:29 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-01-20 09:48:29 +1100 |
| commit | 4c88fcc4a57b1fae7b6edaf42034945d5ac24a89 (patch) | |
| tree | e44c384ba40e9eab37374b3f339c79e9bf1fde5d /src/audio/audio_decoder.cpp | |
| parent | e53dfc4cc59fd0c3b01dc74762c1904f3ec9cc06 (diff) | |
| download | tangara-fw-4c88fcc4a57b1fae7b6edaf42034945d5ac24a89.tar.gz | |
fix build issues with new pipeline
Diffstat (limited to 'src/audio/audio_decoder.cpp')
| -rw-r--r-- | src/audio/audio_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/audio_decoder.cpp b/src/audio/audio_decoder.cpp index 88ddc323..0b3d9878 100644 --- a/src/audio/audio_decoder.cpp +++ b/src/audio/audio_decoder.cpp @@ -58,7 +58,7 @@ auto AudioDecoder::ProcessChunk(const cpp::span<std::byte>& chunk) bool needs_more_input = false; std::optional<codecs::ICodec::ProcessingError> error = std::nullopt; while (1) { - ChunkWriteResult res = chunk_writer_.WriteChunkToStream( + ChunkWriteResult res = chunk_writer_->WriteChunkToStream( [&](cpp::span<std::byte> buffer) -> std::size_t { std::size_t bytes_written = 0; // Continue filling up the output buffer so long as we have samples |
