| 50 | } |
| 51 | |
| 52 | void xs_mp3(xsMachine *the) |
| 53 | { |
| 54 | xsMP3 mp3; |
| 55 | |
| 56 | mp3 = c_calloc(1, sizeof(xsMP3Record)); |
| 57 | if (!mp3) xsUnknownError("no memory"); |
| 58 | |
| 59 | xsmcSetHostData(xsThis, mp3); |
| 60 | |
| 61 | mad_stream_init(&mp3->stream); |
| 62 | mad_frame_init(&mp3->frame); |
| 63 | mad_synth_init(&mp3->synth); |
| 64 | } |
| 65 | |
| 66 | void xs_mp3_close(xsMachine *the) |
| 67 | { |
nothing calls this directly
no test coverage detected