#pragma once #include #include #include "SampleBlock.h" using std::string; using std::vector; class SampleStream { 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 split(size_t block_size); public: vector _stream; };