summaryrefslogtreecommitdiff
path: root/os2eindopdracht/SampleStream.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-05-30 15:13:18 +0200
committerlonkaars <loek@pipeframe.xyz>2023-05-30 15:13:18 +0200
commite346087f316e112a8af9494be13bfff188f3cc0b (patch)
tree67342a97434bfe8481c305fea6495c7ff1474454 /os2eindopdracht/SampleStream.h
parentafa02662b185f62644b1e44a55820ded1e703fd2 (diff)
file copy working
Diffstat (limited to 'os2eindopdracht/SampleStream.h')
-rw-r--r--os2eindopdracht/SampleStream.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/os2eindopdracht/SampleStream.h b/os2eindopdracht/SampleStream.h
index e69de29..94bb941 100644
--- a/os2eindopdracht/SampleStream.h
+++ b/os2eindopdracht/SampleStream.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <string>
+#include <vector>
+
+using std::string;
+using std::vector;
+
+class SampleStream {
+public:
+ SampleStream(string input_stream);
+
+public:
+ void load(string input);
+ string save();
+
+private:
+ vector<int16_t> _stream;
+};