aboutsummaryrefslogtreecommitdiff
path: root/pdogg.c
diff options
context:
space:
mode:
authorjdl <x75@users.sourceforge.net>2004-01-04 12:16:08 +0000
committerjdl <x75@users.sourceforge.net>2004-01-04 12:16:08 +0000
commitced726412c09f7fd3ef2eab1ff59305a720c03ec (patch)
tree156dc8ce8fe0c818617ba13fc4664f7415999673 /pdogg.c
parentea8af3dcd4921987a6e63eb7b6e5c4601f20bbaa (diff)
recommitting olaf's sources from 0.25
svn path=/trunk/externals/pdogg/; revision=1249
Diffstat (limited to 'pdogg.c')
-rw-r--r--pdogg.c92
1 files changed, 46 insertions, 46 deletions
diff --git a/pdogg.c b/pdogg.c
index 415145a..de788a0 100644
--- a/pdogg.c
+++ b/pdogg.c
@@ -1,46 +1,46 @@
-#ifndef VERSION
-#define VERSION "0.23"
-#endif
-
-#include <m_pd.h>
-
-
-#ifndef __DATE__
-#define __DATE__ "without using a gnu compiler"
-#endif
-
-typedef struct _pdogg
-{
- t_object x_obj;
-} t_pdogg;
-
-static t_class* pdogg_class;
-
-// tilde objects
-void oggamp_tilde_setup();
-void oggcast_tilde_setup();
-void oggread_tilde_setup();
-void oggwrite_tilde_setup();
-
-static void* pdogg_new(t_symbol* s) {
- t_pdogg *x = (t_pdogg *)pd_new(pdogg_class);
- return (x);
-}
-
-void pdogg_setup(void)
-{
- pdogg_class = class_new(gensym("pdogg"), (t_newmethod)pdogg_new, 0,
- sizeof(t_pdogg), 0,0);
-
- oggamp_tilde_setup();
- oggcast_tilde_setup();
- oggread_tilde_setup();
- oggwrite_tilde_setup();
-
- post("\n pdogg :: Ogg Vorbis library for pure-data");
- post(" written by Olaf Matthes <olaf.matthes@gmx.de>");
- post(" version: "VERSION);
- post(" compiled: "__DATE__", using Ogg Vorbis library 1.0");
- post(" home: http://www.akustische-kunst.org/puredata/pdogg/");
- post(" including: oggamp~0.2f, oggcast~0.2h, oggread~0.2c, oggwrite~0.1c\n");
-}
+#ifndef VERSION
+#define VERSION "0.25"
+#endif
+
+#include <m_pd.h>
+
+
+#ifndef __DATE__
+#define __DATE__ "without using a gnu compiler"
+#endif
+
+typedef struct _pdogg
+{
+ t_object x_obj;
+} t_pdogg;
+
+static t_class* pdogg_class;
+
+// tilde objects
+void oggamp_tilde_setup();
+void oggcast_tilde_setup();
+void oggread_tilde_setup();
+void oggwrite_tilde_setup();
+
+static void* pdogg_new(t_symbol* s) {
+ t_pdogg *x = (t_pdogg *)pd_new(pdogg_class);
+ return (x);
+}
+
+void pdogg_setup(void)
+{
+ pdogg_class = class_new(gensym("pdogg"), (t_newmethod)pdogg_new, 0,
+ sizeof(t_pdogg), 0,0);
+
+ oggamp_tilde_setup();
+ oggcast_tilde_setup();
+ oggread_tilde_setup();
+ oggwrite_tilde_setup();
+
+ post("\n pdogg :: Ogg Vorbis library for pure-data");
+ post(" written by Olaf Matthes <olaf.matthes@gmx.de>");
+ post(" version: "VERSION);
+ post(" compiled: "__DATE__", using Ogg Vorbis library 1.0");
+ post(" home: http://www.akustische-kunst.org/puredata/pdogg/");
+ post(" including: oggamp~0.2f, oggcast~0.2h, oggread~0.2c, oggwrite~0.1c\n");
+}