diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-02-16 12:55:11 +1100 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-02-16 12:55:11 +1100 |
| commit | 665679b8854d34c13d8eb92167aa8a4691619d8b (patch) | |
| tree | dd2edb34f09f198357efb1e0a7e6f5e81443c022 /src/audio/fatfs_audio_input.cpp | |
| parent | a49d754da6c293445be16ac643d10849c01ea96b (diff) | |
| download | tangara-fw-665679b8854d34c13d8eb92167aa8a4691619d8b.tar.gz | |
WIP: seeking in lua example
Diffstat (limited to 'src/audio/fatfs_audio_input.cpp')
| -rw-r--r-- | src/audio/fatfs_audio_input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/fatfs_audio_input.cpp b/src/audio/fatfs_audio_input.cpp index 665e8c1d..74c1154b 100644 --- a/src/audio/fatfs_audio_input.cpp +++ b/src/audio/fatfs_audio_input.cpp @@ -136,7 +136,7 @@ auto FatfsAudioInput::OpenFile(const std::string& path,uint32_t offset) -> bool auto source = std::make_unique<FatfsSource>(stream_type.value(), std::move(file)); - new_stream_.reset(new TaggedStream(tags, std::move(source), offset)); + new_stream_.reset(new TaggedStream(tags, std::move(source), path, offset)); return true; } |
