Update of /cvsroot/pure-data/externals/iemlib/src/iem_mp3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5511/iemlib/src/iem_mp3
Modified Files: iem_mp3.c sigmp3play.c Log Message: dos-return
Index: iem_mp3.c =================================================================== RCS file: /cvsroot/pure-data/externals/iemlib/src/iem_mp3/iem_mp3.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** iem_mp3.c 2 Jun 2005 18:24:59 -0000 1.2 --- iem_mp3.c 8 Jul 2005 02:22:28 -0000 1.3 *************** *** 1,36 **** ! /* 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 - 2005 */ ! ! #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.16) library loaded! (c) Thomas Musil 05.2005"); ! post(" musil%ciem.at iem KUG Graz Austria", '@'); ! } --- 1,36 ---- ! /* 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 - 2005 */ ! ! #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.16) library loaded! (c) Thomas Musil 05.2005"); ! post(" musil%ciem.at iem KUG Graz Austria", '@'); ! }
Index: sigmp3play.c =================================================================== RCS file: /cvsroot/pure-data/externals/iemlib/src/iem_mp3/sigmp3play.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** sigmp3play.c 2 Jun 2005 18:24:59 -0000 1.2 --- sigmp3play.c 8 Jul 2005 02:22:28 -0000 1.3 *************** *** 1,3864 **** ! /* 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 - 2005 */ ! ! /* ! sigmp3play.c - Mpeg Layer III Player for PD ! Version:0.1 ! 05-18-2000 ! written by Thomas Musil (musil_at_iem.kug.ac.at), Norbert Math (math_at_iem.kug.ac.at) [...7699 lines suppressed...] ! } ! ! void sigmp3play_setup(void) ! { ! sigmp3play_class = class_new(gensym("mp3play~"), (t_newmethod)sigmp3play_new, ! (t_method)sigmp3play_free, sizeof(t_sigmp3play), 0, 0); ! class_addmethod(sigmp3play_class, (t_method)sigmp3play_dsp, gensym("dsp"), 0); ! class_addmethod(sigmp3play_class, (t_method)sigmp3play_start, gensym("start"), 0); ! class_addmethod(sigmp3play_class, (t_method)sigmp3play_ft1, ! gensym("ft1"), A_FLOAT, 0); ! class_addmethod(sigmp3play_class, (t_method)sigmp3play_stop, gensym("stop"), 0); ! class_addmethod(sigmp3play_class, (t_method)sigmp3play_pause, gensym("pause"), 0); ! class_addmethod(sigmp3play_class, (t_method)sigmp3play_open_again_at, gensym("open_again_at"), 0); ! class_addmethod(sigmp3play_class, (t_method)sigmp3play_open, gensym("open"), A_DEFSYM, 0); ! class_addmethod(sigmp3play_class, (t_method)sigmp3play_open_again, gensym("open_again"), 0); ! class_addmethod(sigmp3play_class, (t_method)sigmp3play_open_at, gensym("open_at"), A_DEFSYM, 0); ! class_sethelpsymbol(sigmp3play_class, gensym("iemhelp/help-mp3play~")); ! /*post("\nmp3play~ written by thomas musil & norbert math\nV 0.1 iem graz ! austria 05 2000\n");*/ ! }