diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-11-02 22:21:52 +0100 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-11-02 22:21:52 +0100 |
commit | bf225b16dd73d19281970cfc6be76311f0fbf3a6 (patch) | |
tree | 6b8ba99623405dbdd7b37d4062272cfd1e7ccb21 /src/at3.cpp | |
parent | 57ba306db046601b96b5a1943e63574a37c5e96c (diff) | |
parent | d459470e2d8c1cdfc633584b277505ef03565ab1 (diff) | |
download | atracdenc-bf225b16dd73d19281970cfc6be76311f0fbf3a6.tar.gz |
Merge branch 'master' into new_psy
Diffstat (limited to 'src/at3.cpp')
-rw-r--r-- | src/at3.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/at3.cpp b/src/at3.cpp index f4afc4f..35d6121 100644 --- a/src/at3.cpp +++ b/src/at3.cpp @@ -80,7 +80,7 @@ At3WaveHeader { class TAt3 : public ICompressedOutput { public: - TAt3(const std::string &filename, uint8_t numChannels, + TAt3(const std::string &filename, size_t numChannels, uint32_t numFrames, uint32_t frameSize, bool jointStereo) : fp(fopen(filename.c_str(), "wb")) { @@ -146,7 +146,7 @@ public: return {}; } - uint8_t GetChannelNum() const override { + size_t GetChannelNum() const override { return 2; } @@ -157,7 +157,7 @@ private: } //namespace TCompressedOutputPtr -CreateAt3Output(const std::string& filename, uint8_t numChannel, +CreateAt3Output(const std::string& filename, size_t numChannel, uint32_t numFrames, uint32_t framesize, bool jointStereo) { return std::unique_ptr<TAt3>(new TAt3(filename, numChannel, numFrames, framesize, jointStereo)); |