aboutsummaryrefslogtreecommitdiff
path: root/Src/replicant/nsmp3dec/giobase.h
diff options
context:
space:
mode:
authorJean-Francois Mauguit <jfmauguit@mac.com>2024-09-24 09:03:25 -0400
committerGitHub <noreply@github.com>2024-09-24 09:03:25 -0400
commitbab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/replicant/nsmp3dec/giobase.h
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/replicant/nsmp3dec/giobase.h')
-rw-r--r--Src/replicant/nsmp3dec/giobase.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/Src/replicant/nsmp3dec/giobase.h b/Src/replicant/nsmp3dec/giobase.h
new file mode 100644
index 00000000..c30aab26
--- /dev/null
+++ b/Src/replicant/nsmp3dec/giobase.h
@@ -0,0 +1,46 @@
+/***************************************************************************\
+ *
+* MPEG Layer3-Audio Decoder
+* © 1997-2006 by Fraunhofer IIS
+ * All Rights Reserved
+ *
+ * filename: giobase.h
+ * project : MPEG Decoder
+ * author : Martin Sieler
+ * date : 1998-02-11
+ * contents/description: HEADER - basic I/O class for MPEG Decoder
+ *
+ *
+\***************************************************************************/
+
+/*
+ * $Date: 2010/11/17 20:46:02 $
+ * $Id: giobase.h,v 1.1 2010/11/17 20:46:02 audiodsp Exp $
+ */
+
+#ifndef __GIOBASE_H__
+#define __GIOBASE_H__
+
+/* ------------------------ includes --------------------------------------*/
+
+#include "mp3sscdef.h"
+
+/*-------------------------- defines --------------------------------------*/
+
+/*-------------------------------------------------------------------------*/
+
+class CGioBase
+{
+public:
+
+ virtual SSC Read(void *pBuffer, int cbToRead, int *pcbRead) = 0;
+ virtual bool IsEof() const = 0;
+
+protected:
+ ~CGioBase() {}
+private:
+
+};
+
+/*-------------------------------------------------------------------------*/
+#endif