diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-05-18 21:33:33 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-05-18 21:33:33 +0000 |
commit | 577ac6e80ff4f436fbd054291ed7dddbc31bd49a (patch) | |
tree | 6ec69b216dda68d7de38a5eba1851b9d4f1431e6 /src/iem_mp3/iem_mp3.c |
This commit was generated by cvs2svn to compensate for changes in r1738,svn2git-root
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/externals/iemlib/; revision=1739
Diffstat (limited to 'src/iem_mp3/iem_mp3.c')
-rw-r--r-- | src/iem_mp3/iem_mp3.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/iem_mp3/iem_mp3.c b/src/iem_mp3/iem_mp3.c new file mode 100644 index 0000000..5b45515 --- /dev/null +++ b/src/iem_mp3/iem_mp3.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_mp3 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_mp3_class; + +static void *iem_mp3_new(void) +{ + t_object *x = (t_object *)pd_new(iem_mp3_class); + + return (x); +} + +void sigmp3play_setup(void); + +/* ------------------------ setup routine ------------------------- */ + +void iem_mp3_setup(void) +{ + iem_mp3_class = class_new(gensym("iem_mp3"), iem_mp3_new, 0, + sizeof(t_object), CLASS_NOINLET, 0); + + sigmp3play_setup(); + + post("iem_mp3 (R-1.15) library loaded!"); +} |