summaryrefslogtreecommitdiff
path: root/os2eindopdracht/SampleStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'os2eindopdracht/SampleStream.h')
-rw-r--r--os2eindopdracht/SampleStream.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/os2eindopdracht/SampleStream.h b/os2eindopdracht/SampleStream.h
index 5657b06..7ff5594 100644
--- a/os2eindopdracht/SampleStream.h
+++ b/os2eindopdracht/SampleStream.h
@@ -13,10 +13,12 @@ public:
SampleStream(string input_stream);
public:
+ /** @brief load raw pcm sample bytes (signed 16-bit little endian) to _stream */
void load(string input);
+ /** @brief print raw pcb sample bytes from _stream */
string save();
+ /** @brief return array of SampleBlock for _stream using block_size */
vector<SampleBlock> split(size_t block_size);
- void align(size_t block_size);
public:
vector<int16_t> _stream;