aboutsummaryrefslogtreecommitdiff
path: root/src/iem_mp3/iem_mp3.c
blob: 5b45515b247aa79da18049060c71e80cfb5231e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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!");
}