1 /* copyright: Steve Dekorte, 2002
2 * All rights reserved. See _BSDLicense.txt.
5 #ifndef IOMP3DECODER_DEFINED
6 #define IOMP3DECODER_DEFINED 1
12 #define ISMP3DECODER(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoMP3Decoder_rawClone)
14 typedef IoObject IoMP3Decoder
;
18 struct mad_decoder decoder
;
20 IoMessage
*willProcessMessage
;
21 IoMessage
*didProcessMessage
;
28 IoMP3Decoder
*IoMP3Decoder_proto(void *state
);
29 IoMP3Decoder
*IoMP3Decoder_new(void *state
);
30 IoMP3Decoder
*IoMP3Decoder_rawClone(IoMP3Decoder
*self
);
31 void IoMP3Decoder_mark(IoMP3Decoder
*self
);
32 void IoMP3Decoder_free(IoMP3Decoder
*self
);
34 /* ----------------------------------------------------------- */
35 IoObject
*IoMP3Decoder_start(IoMP3Decoder
*self
, IoObject
*locals
, IoMessage
*m
);
36 IoObject
*IoMP3Decoder_stop(IoMP3Decoder
*self
, IoObject
*locals
, IoMessage
*m
);
38 IoObject
*IoMP3Decoder_inputBuffer(IoMP3Decoder
*self
, IoObject
*locals
, IoMessage
*m
);
39 IoObject
*IoMP3Decoder_outputBuffer(IoMP3Decoder
*self
, IoObject
*locals
, IoMessage
*m
);