17 enum class InstrumentType : u8 {
28 static inline constexpr bool IsSimpleInstrument(
const InstrumentType type) {
29 return (type == InstrumentType::Pcm) || (type == InstrumentType::Psg) || (type == InstrumentType::Noise) || (type == InstrumentType::DirectPcm) || (type == InstrumentType::Null);
65 u8 note_region_end_keys[8];
70 std::vector<HeadedInstrumentData> data;
75 std::vector<HeadedInstrumentData> data;
88 std::vector<InstrumentRecord> instruments;
93 Result ValidateImpl(
const std::string &path, std::shared_ptr<fs::FileHandle> file_handle,
const fs::FileCompression comp)
override;
94 Result ReadImpl(
const std::string &path, std::shared_ptr<fs::FileHandle> file_handle,
const fs::FileCompression comp)
override;
96 Result WriteImpl(
const std::string &path, std::shared_ptr<fs::FileHandle> file_handle,
const fs::FileCompression comp)
override {
97 NTR_R_FAIL(ResultSBNKWriteNotSupported);