summaryrefslogtreecommitdiff
path: root/icedax/sndfile.h
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-12-31 05:04:42 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-12-31 05:04:42 +0400
commit71dc8760ff4de5f365330d1bc571d934deb54af9 (patch)
tree7346d42a282562a3937d82307012b5857d642ce6 /icedax/sndfile.h
downloadcdrkit-upstream/1.1.11.tar.gz
Imported Upstream version 1.1.11upstream/1.1.11upstream
Diffstat (limited to 'icedax/sndfile.h')
-rw-r--r--icedax/sndfile.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/icedax/sndfile.h b/icedax/sndfile.h
new file mode 100644
index 0000000..73ef9ff
--- /dev/null
+++ b/icedax/sndfile.h
@@ -0,0 +1,36 @@
+/*
+ * This file has been modified for the cdrkit suite.
+ *
+ * The behaviour and appearence of the program code below can differ to a major
+ * extent from the version distributed by the original author(s).
+ *
+ * For details, see Changelog file distributed with the cdrkit package. If you
+ * received this file from another source then ask the distributing person for
+ * a log of modifications.
+ *
+ */
+
+/* @(#)sndfile.h 1.4 06/02/19 Copyright 1998,1999 Heiko Eissfeldt, Copyright 2006 J. Schilling */
+
+/*
+ * generic soundfile structure
+ */
+
+#ifndef _SNDFILE_H
+#define _SNDFILE_H
+
+#include <utypes.h>
+
+struct soundfile {
+ int (* InitSound)(int audio, long channels, Ulong rate,
+ long nBitsPerSample,
+ Ulong expected_bytes);
+ int (* ExitSound)(int audio, Ulong nBytesDone);
+ Ulong (* GetHdrSize)(void);
+ int (* WriteSound)(int audio, unsigned char *buf, Ulong BytesToDo);
+ Ulong (* InSizeToOutSize)(Ulong BytesToDo);
+
+ int need_big_endian;
+};
+
+#endif /* _SNDFILE_H */