|
enum class | InstrumentType : u8 {
Invalid = 0
, Pcm = 1
, Psg = 2
, Noise = 3
,
DirectPcm = 4
, Null = 5
, DrumSet = 16
, KeySplit = 17
} |
|
|
| SBNK (const SBNK &)=delete |
|
Result | ValidateImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override |
|
Result | ReadImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override |
|
Result | WriteImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override |
|
Result | Validate (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp=fs::FileCompression::None) |
|
Result | ReadFrom (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp=fs::FileCompression::None) |
|
Result | ReadCompressedFrom (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle) |
|
Result | WriteTo (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle) |
|
Result | WriteTo (std::shared_ptr< fs::FileHandle > file_handle) |
|
|
static constexpr bool | IsSimpleInstrument (const InstrumentType type) |
|
◆ ReadImpl()
Result ntr::fmt::SBNK::ReadImpl |
( |
const std::string & | path, |
|
|
std::shared_ptr< fs::FileHandle > | file_handle, |
|
|
const fs::FileCompression | comp ) |
|
overridevirtual |
◆ ValidateImpl()
Result ntr::fmt::SBNK::ValidateImpl |
( |
const std::string & | path, |
|
|
std::shared_ptr< fs::FileHandle > | file_handle, |
|
|
const fs::FileCompression | comp ) |
|
overridevirtual |
◆ WriteImpl()
Result ntr::fmt::SBNK::WriteImpl |
( |
const std::string & | path, |
|
|
std::shared_ptr< fs::FileHandle > | file_handle, |
|
|
const fs::FileCompression | comp ) |
|
inlineoverridevirtual |
The documentation for this struct was generated from the following files:
- libnedit/include/ntr/fmt/fmt_SBNK.hpp
- libnedit/source/ntr/fmt/fmt_SBNK.cpp