gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

stream.h (283B)


      1 #pragma once
      2 
      3 namespace networkLib
      4 {
      5 	class Stream
      6 	{
      7 	public:
      8 		virtual void close() = 0;
      9 		virtual bool isValid() const = 0;
     10 		virtual bool flush() = 0;
     11 
     12 		virtual bool read(void* _buf, uint32_t _byteSize) = 0;
     13 		virtual bool write(const void* _buf, uint32_t _byteSize) = 0;
     14 	};
     15 }