diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2019-05-17 01:21:41 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2019-05-17 01:21:41 +0300 |
commit | 72c3f6ec998e8acfade1e1b40abf32af21eb282b (patch) | |
tree | 2e5444a0711aa29a24e39ae2404d5c5f562af19b /src/aea.h | |
parent | ed9629395ce9696164c1d617d573a47982e82169 (diff) | |
download | atracdenc-0.0.1.tar.gz |
Fix some VS compilation warnings0.0.1
Diffstat (limited to 'src/aea.h')
-rw-r--r-- | src/aea.h | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -53,17 +53,15 @@ class TAea : public IAtrac1IO { std::array<char, AeaMetaSize> AeaHeader; } Meta; static TAea::TMeta ReadMeta(const std::string& filename); - static TAea::TMeta CreateMeta(const std::string& filename, const std::string& title, int numChannel, uint32_t numFrames); + static TAea::TMeta CreateMeta(const std::string& filename, const std::string& title, uint8_t numChannel, uint32_t numFrames); bool FirstWrite = true; public: - TAea(const std::string& filename); - TAea(const std::string& filename, const std::string& title, int numChannel, uint32_t numFrames); - ~TAea(); - 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; + TAea(const std::string& filename); + TAea(const std::string& filename, const std::string& title, uint8_t numChannel, uint32_t numFrames); + ~TAea(); + 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; }; - - |