aboutsummaryrefslogtreecommitdiffstats
path: root/src/oma.h
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2019-05-17 01:21:41 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2019-05-17 01:21:41 +0300
commit72c3f6ec998e8acfade1e1b40abf32af21eb282b (patch)
tree2e5444a0711aa29a24e39ae2404d5c5f562af19b /src/oma.h
parented9629395ce9696164c1d617d573a47982e82169 (diff)
downloadatracdenc-72c3f6ec998e8acfade1e1b40abf32af21eb282b.tar.gz
Fix some VS compilation warnings0.0.1
Diffstat (limited to 'src/oma.h')
-rw-r--r--src/oma.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/oma.h b/src/oma.h
index d706d51..796d79c 100644
--- a/src/oma.h
+++ b/src/oma.h
@@ -21,15 +21,15 @@
#include "compressed_io.h"
#include "oma/liboma/include/oma.h"
-
class TOma : public ICompressedIO {
OMAFILE* File;
public:
- TOma(const std::string& filename, const std::string& title, int numChannel, uint32_t numFrames, int cid, uint32_t framesize);
+ TOma(const std::string& filename, const std::string& title, uint8_t numChannel, uint32_t numFrames, int cid,
+ uint32_t framesize);
~TOma();
std::unique_ptr<TFrame> ReadFrame() override;
void WriteFrame(std::vector<char> data) override;
std::string GetName() const override;
- int GetChannelNum() const override;
- long long GetLengthInSamples() const override;
+ uint8_t GetChannelNum() const override;
+ uint64_t GetLengthInSamples() const override;
};