From c7ee66edb1e467b9a6650da2c98e25ac2171a70e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 1 Mar 2006 11:46:46 +0000 Subject: added the binaural ambisonic decoder svn path=/trunk/externals/iem/iem_bin_ambi/; revision=4634 --- src/iem_bin_ambi.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/iem_bin_ambi.c (limited to 'src/iem_bin_ambi.c') diff --git a/src/iem_bin_ambi.c b/src/iem_bin_ambi.c new file mode 100644 index 0000000..5fff1e9 --- /dev/null +++ b/src/iem_bin_ambi.c @@ -0,0 +1,35 @@ +/* For information on usage and redistribution, and for a DISCLAIMER OF ALL +* WARRANTIES, see the file, "LICENSE.txt," in this distribution. + +iem_bin_ambi written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2003 */ + +#ifdef NT +#pragma warning( disable : 4244 ) +#pragma warning( disable : 4305 ) +#endif + + +#include "m_pd.h" +#include "iemlib.h" + +static t_class *iem_bin_ambi_class; + +static void *iem_bin_ambi_new(void) +{ + t_object *x = (t_object *)pd_new(iem_bin_ambi_class); + + return (x); +} + +void bin_ambi_calc_HRTF_setup(void); +void bin_ambi_reduced_decode_setup(void); + +/* ------------------------ setup routine ------------------------- */ + +void iem_bin_ambi_setup(void) +{ + bin_ambi_calc_HRTF_setup(); + bin_ambi_reduced_decode_setup(); + + post("iem_bin_ambi (R-1.15) library loaded!"); +} -- cgit v1.2.1