Update of /cvsroot/pure-data/externals/unauthorized/mp3cast~ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5342
Modified Files: CHANGES.LOG Makefile mp3cast~-help.pd mp3cast~.c Log Message: updated to 0.5
Index: mp3cast~.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/mp3cast~/mp3cast~.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mp3cast~.c 19 Apr 2005 00:17:35 -0000 1.5 --- mp3cast~.c 25 Feb 2006 19:58:40 -0000 1.6 *************** *** 27,30 **** --- 27,37 ---- /* ---------------------------------------------------------------------------- */
+ + + #ifdef NT + #pragma warning( disable : 4244 ) + #pragma warning( disable : 4305 ) + #endif + [...1143 lines suppressed...] + x->x_genre = "experimental sound"; + x->x_isPublic = 1; + x->x_description = "playing with my patches"; return(x); } *************** *** 776,782 **** --- 1086,1097 ---- class_addmethod(mp3cast_class, (t_method)mp3cast_print, gensym("print"), 0); class_addmethod(mp3cast_class, (t_method)mp3cast_icecast, gensym("icecast"), 0); + class_addmethod(mp3cast_class, (t_method)mp3cast_icecast2, gensym("icecast2"), 0); class_addmethod(mp3cast_class, (t_method)mp3cast_shoutcast, gensym("shoutcast"), 0); class_addmethod(mp3cast_class, (t_method)mp3cast_mountpoint, gensym("mountpoint"), A_SYMBOL, 0); class_addmethod(mp3cast_class, (t_method)mp3cast_name, gensym("name"), A_SYMBOL, 0); + class_addmethod(mp3cast_class, (t_method)mp3cast_url, gensym("url"), A_SYMBOL, 0); + class_addmethod(mp3cast_class, (t_method)mp3cast_genre, gensym("genre"), A_SYMBOL, 0); + class_addmethod(mp3cast_class, (t_method)mp3cast_isPublic, gensym("isPublic"), A_FLOAT, 0); + class_addmethod(mp3cast_class, (t_method)mp3cast_description, gensym("description"), A_SYMBOL, 0); }
Index: mp3cast~-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/mp3cast~/mp3cast~-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mp3cast~-help.pd 25 Sep 2003 20:58:54 -0000 1.1 --- mp3cast~-help.pd 25 Feb 2006 19:58:40 -0000 1.2 *************** *** 1,50 **** ! #N canvas 52 75 741 425 10; ! #X floatatom 53 24 0 40 16000; ! #X msg 30 378 ; pd dsp 1; ! #X obj 61 242 mp3cast~; ! #X floatatom 61 280 0 0 0; #X msg 181 88 disconnect; - #X msg 151 44 connect localhost 8000; #X text 266 63 <-- your password for the server; #X text 317 75 (default passwd is "pd"); #X text 257 87 <-- close connection; ! #X text 411 21 <-- host and port; ! #X text 292 215 <-- settings for mp3 stream; ! #X text 315 245 bitrate: bitrate of stream , def. 224kbit/s; ! #X text 352 269 1 = joint stereo (default); ! #X text 312 307 quality: 1 = high , 9 = low; ! #X text 313 227 (samplerate , bitrate , mode , quality); ! #X text 316 257 mode: 0 = stereo; ! #X text 352 281 2 = dual channel; ! #X text 352 294 3 = mono; ! #X msg 13 145 print; ! #X msg 96 378 ; pd dsp 0; ! #X msg 203 141 icecast; ! #X text 259 116 <-- choose type of server; #X obj 53 51 osc~ 440; ! #X msg 163 66 passwd letmein; ! #X msg 154 239 mpeg 8000 8 3 5; ! #X msg 155 215 mpeg 44100 128 1 4; ! #X msg 209 170 mountpoint pd; ! #X obj 29 349 loadbang; ! #X text 293 374 Author : Yves Degoyon ( ydegoyon@free.fr ); ! #X msg 190 118 shoutcast; ! #X msg 116 23 connect college-invisible.dyndns.org 8000; #X msg 212 194 name mystream; #X text 322 195 name of the stream; ! #X connect 0 0 22 0; ! #X connect 2 0 3 0; ! #X connect 4 0 2 0; ! #X connect 5 0 2 0; ! #X connect 18 0 2 0; ! #X connect 20 0 2 0; ! #X connect 22 0 2 0; ! #X connect 22 0 2 1; ! #X connect 23 0 2 0; ! #X connect 24 0 2 0; ! #X connect 25 0 2 0; ! #X connect 26 0 2 0; ! #X connect 27 0 1 0; ! #X connect 29 0 2 0; ! #X connect 30 0 2 0; ! #X connect 31 0 2 0; --- 1,65 ---- ! #N canvas 1180 63 687 606 10; ! #X floatatom 53 24 0 40 16000 0 - - -; ! #X msg 351 547 ; pd dsp 1; ! #X floatatom 48 537 0 0 0 0 - - -; #X msg 181 88 disconnect; #X text 266 63 <-- your password for the server; #X text 317 75 (default passwd is "pd"); #X text 257 87 <-- close connection; ! #X text 313 45 <-- host and port; ! #X text 349 218 <-- settings for mp3 stream; ! #X text 372 248 bitrate: bitrate of stream , def. 224kbit/s; ! #X text 409 272 1 = joint stereo (default); ! #X text 369 310 quality: 1 = high , 9 = low; ! #X text 370 230 (samplerate , bitrate , mode , quality); ! #X text 373 260 mode: 0 = stereo; ! #X text 409 284 2 = dual channel; ! #X text 409 297 3 = mono; ! #X msg 6 439 print; ! #X msg 417 547 ; pd dsp 0; ! #X msg 204 129 icecast; #X obj 53 51 osc~ 440; ! #X msg 211 242 mpeg 8000 8 3 5; ! #X msg 212 218 mpeg 44100 128 1 4; ! #X obj 350 518 loadbang; ! #X text 313 477 Author : Yves Degoyon ( ydegoyon@free.fr ); ! #X msg 191 109 shoutcast; #X msg 212 194 name mystream; #X text 322 195 name of the stream; ! #X text 260 107 <-- choose type of server ( default = icecast ); ! #X msg 209 148 icecast2; ! #X msg 180 365 isPublic 0; ! #X msg 181 387 isPublic 1; ! #X text 385 421 <-- stream description; ! #X text 265 380 <-- publish stream info in the yellow pages; ! #X text 269 438 <-- stream genre; ! #X text 338 344 <-- stream url; ! #X msg 164 66 passwd pd; ! #X msg 151 45 connect localhost 8000; ! #X msg 212 172 mountpoint live.mp3; ! #X msg 179 343 url http://localhost; ! #X msg 180 415 description hardcore; ! #X msg 180 439 genre other; ! #X text 313 490 Contributor : Ramiro Consentino; ! #X obj 48 499 mp3cast~; ! #X connect 0 0 19 0; ! #X connect 3 0 42 0; ! #X connect 16 0 42 0; ! #X connect 18 0 42 0; ! #X connect 19 0 42 0; ! #X connect 19 0 42 1; ! #X connect 20 0 42 0; ! #X connect 21 0 42 0; ! #X connect 22 0 1 0; ! #X connect 24 0 42 0; ! #X connect 25 0 42 0; ! #X connect 28 0 42 0; ! #X connect 29 0 42 0; ! #X connect 30 0 42 0; ! #X connect 35 0 42 0; ! #X connect 36 0 42 0; ! #X connect 37 0 42 0; ! #X connect 38 0 42 0; ! #X connect 39 0 42 0; ! #X connect 40 0 42 0; ! #X connect 42 0 2 0;
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/mp3cast~/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 16 Aug 2003 17:08:55 -0000 1.1 --- Makefile 25 Feb 2006 19:58:40 -0000 1.2 *************** *** 62,66 ****
LINUXCFLAGS = -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer \ ! -Wall -W -Wshadow -Wstrict-prototypes -Werror \ -Wno-unused -Wno-parentheses -Wno-switch
--- 62,66 ----
LINUXCFLAGS = -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer \ ! -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch
Index: CHANGES.LOG =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/mp3cast~/CHANGES.LOG,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CHANGES.LOG 16 Aug 2003 17:08:54 -0000 1.1 --- CHANGES.LOG 25 Feb 2006 19:58:40 -0000 1.2 *************** *** 1,2 **** --- 1,8 ---- + 0.5 (by rama) + changed "ispublic" option to true as default + added messages handling for setting stream info: url, genre, description, isPublic + (all was tested using icecast2) + 0.4 + added icecast 2 compatibility 0.3 renamed it to mp3cast