aboutsummaryrefslogtreecommitdiffstats
path: root/src/oma.h
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2021-08-28 22:16:39 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2021-08-28 22:16:39 +0300
commitfeb23a6ccb5c756b6497c24c4849cdda07cb35f1 (patch)
tree39c3cd3a368bb3158a6af9f5d195690a7758333f /src/oma.h
parent62ced878b526d49e5ef6ad42ca2eb7efc874867a (diff)
downloadatracdenc-feb23a6ccb5c756b6497c24c4849cdda07cb35f1.tar.gz
[refactoring] Split CompressedIO interface for Read and Write part
Diffstat (limited to 'src/oma.h')
-rw-r--r--src/oma.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/oma.h b/src/oma.h
index 396464a..58fcfd2 100644
--- a/src/oma.h
+++ b/src/oma.h
@@ -22,15 +22,13 @@
#include "oma/liboma/include/oma.h"
-class TOma : public ICompressedIO {
+class TOma : public ICompressedOutput {
OMAFILE* File;
public:
TOma(const std::string& filename, const std::string& title, uint8_t numChannel,
uint32_t numFrames, int cid, uint32_t framesize, bool jointStereo);
~TOma();
- std::unique_ptr<TFrame> ReadFrame() override;
void WriteFrame(std::vector<char> data) override;
std::string GetName() const override;
uint8_t GetChannelNum() const override;
- uint64_t GetLengthInSamples() const override;
};