aboutsummaryrefslogtreecommitdiffstats
path: root/src/compressed_io.h
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2016-03-13 09:49:33 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2016-09-02 21:21:28 +0300
commitcfaa2cd39b7256a868a4f5cd83aac207df6bd1b3 (patch)
tree75efff26584e046566d17cd308d45b6b0fd5abfc /src/compressed_io.h
parentb4df8a7c2dd12eea27c8cc52bd52a1bb8c00943f (diff)
downloadatracdenc-cfaa2cd39b7256a868a4f5cd83aac207df6bd1b3.tar.gz
Dirty implementation of atrac3 encoder:
- no JS mode - constant quantiser for tonal components - gain controll implemented but produces some artifacts with real signals. - etc...
Diffstat (limited to 'src/compressed_io.h')
-rw-r--r--src/compressed_io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compressed_io.h b/src/compressed_io.h
index d8cfb11..cc45a7f 100644
--- a/src/compressed_io.h
+++ b/src/compressed_io.h
@@ -2,6 +2,7 @@
#include <vector>
#include <array>
#include <string>
+#include <memory>
class ICompressedIO {
public:
@@ -29,3 +30,5 @@ public:
virtual long long GetLengthInSamples() const = 0;
virtual ~ICompressedIO() {}
};
+
+typedef std::unique_ptr<ICompressedIO> TCompressedIOPtr;