aboutsummaryrefslogtreecommitdiff
path: root/Src/replicant/nsmp3dec/crc16.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/crc16.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/crc16.h')
-rw-r--r--Src/replicant/nsmp3dec/crc16.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/Src/replicant/nsmp3dec/crc16.h b/Src/replicant/nsmp3dec/crc16.h
new file mode 100644
index 00000000..a8deb38e
--- /dev/null
+++ b/Src/replicant/nsmp3dec/crc16.h
@@ -0,0 +1,35 @@
+/***************************************************************************\
+ *
+* MPEG Layer3-Audio Decoder
+* © 1997-2006 by Fraunhofer IIS
+ * All Rights Reserved
+ *
+ * filename: crc16.h
+ * project : ISO/MPEG decoder
+ * author : Martin Sieler
+ * date : 1998-05-26
+ * contents/description: functions to calculate a CRC-16
+ *
+ *
+\***************************************************************************/
+
+/*
+ * $Date: 2010/11/17 20:46:02 $
+ * $Id: crc16.h,v 1.1 2010/11/17 20:46:02 audiodsp Exp $
+ */
+
+#ifndef __CRC16_H__
+#define __CRC16_H__
+
+/* ------------------------ includes --------------------------------------*/
+
+/* ------------------------------------------------------------------------*/
+
+class CBitStream;
+
+/* ------------------------------------------------------------------------*/
+
+unsigned int CalcCrc(CBitStream &Bs, int len, unsigned int start);
+
+/*-------------------------------------------------------------------------*/
+#endif