/* Interface for reading and writing PCM data Copyright 2018 Ahmet Inan */ #ifndef PCM_HH #define PCM_HH namespace DSP { template struct WritePCM { virtual void write(TYPE *, int, int) = 0; virtual void silence(int) = 0; }; template struct ReadPCM { virtual void read(TYPE *, int, int) = 0; }; } #endif