Torch
Loading...
Searching...
No Matches
SequencePlayerV1.h
1#pragma once
2
3#ifdef BUILD_UI
4
5#include "ui/audio/SequenceDriver.h"
6
7// Decodes a NAUDIO:V1:SAMPLE parse result to PCM16 at its natural rate.
8// Resolves loop/book through the driver's parse-result index.
9bool DecodeV1SampleToPcm(const ParseResultData& item, std::vector<int16_t>& pcm, int& rate);
10
11// naudio v1 (SF64-era library) sequence driver. Fonts resolve through the
12// game's seq-font table (extracted as the gSeqFontTable ARRAY asset).
13class SequencePlayerV1 : public UI::SequenceDriver {
14public:
15 bool Render(const ParseResultData& item, int option, UI::RenderedAudio& out) override;
16};
17
18#endif // BUILD_UI
Definition Companion.h:123