summaryrefslogtreecommitdiff
path: root/libaudiofile/ircam.h
diff options
context:
space:
mode:
Diffstat (limited to 'libaudiofile/ircam.h')
-rw-r--r--libaudiofile/ircam.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/libaudiofile/ircam.h b/libaudiofile/ircam.h
new file mode 100644
index 0000000..98b70d1
--- /dev/null
+++ b/libaudiofile/ircam.h
@@ -0,0 +1,59 @@
+/*
+ Audio File Library
+
+ Copyright (C) 2001, Silicon Graphics, Inc.
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307 USA.
+*/
+
+/*
+ ircam.h
+
+ This file contains constants and function prototypes related to
+ the Berkeley/IRCAM/CARL Sound File format.
+*/
+
+#ifndef IRCAM_H
+#define IRCAM_H
+
+bool _af_ircam_recognize (AFvirtualfile *fh);
+
+status _af_ircam_read_init (AFfilesetup, AFfilehandle);
+
+status _af_ircam_write_init (AFfilesetup, AFfilehandle);
+
+AFfilesetup _af_ircam_complete_setup (AFfilesetup);
+
+status _af_ircam_update (AFfilehandle);
+
+#define SF_SHORT 2
+#define SF_FLOAT 4
+
+#define SF_MAXCHAN 4
+#define SF_MAXCOMMENT 512
+#define SF_MINCOMMENT 256
+
+enum
+{
+ SF_END,
+ SF_MAXAMP,
+ SF_COMMENT,
+ SF_LINKCODE
+};
+
+#define SIZEOF_BSD_HEADER 1024
+
+#endif /* IRCAM_H */