34 std::vector<Sample> samples;
39 Result ReadSampleData(
const Sample sample, u8 *out_sample_data);
40 Result WriteSampleData(
const Sample sample,
const u8 *sample_data,
size_t sample_data_size,
const std::string &path, std::shared_ptr<fs::FileHandle> file_handle);
42 inline Result WriteSampleData(
const Sample sample,
const u8 *sample_data,
size_t sample_data_size, std::shared_ptr<fs::FileHandle> file_handle) {
43 return this->WriteSampleData(sample, sample_data, sample_data_size, this->read_path, file_handle);
46 Result ValidateImpl(
const std::string &path, std::shared_ptr<fs::FileHandle> file_handle,
const fs::FileCompression comp)
override;
47 Result ReadImpl(
const std::string &path, std::shared_ptr<fs::FileHandle> file_handle,
const fs::FileCompression comp)
override;
49 Result WriteImpl(
const std::string &path, std::shared_ptr<fs::FileHandle> file_handle,
const fs::FileCompression comp)
override {
50 NTR_R_FAIL(ResultSWARWriteNotSupported);