comparison src/musepack/libmpc.cxx @ 1621:031e91938009

musepack: C++ at it's worst.
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 04:30:16 -0500
parents 3a252050736c
children aee4ebea943a
comparison
equal deleted inserted replaced
1620:87a52bc00926 1621:031e91938009
13 InputPlugin MpcPlugin = { 13 InputPlugin MpcPlugin = {
14 NULL, //File Handle FILE* handle 14 NULL, //File Handle FILE* handle
15 NULL, //Filename char* filename 15 NULL, //Filename char* filename
16 (gchar *)"Musepack Audio Plugin", 16 (gchar *)"Musepack Audio Plugin",
17 mpcOpenPlugin, //Open Plugin [CALLBACK] 17 mpcOpenPlugin, //Open Plugin [CALLBACK]
18 NULL, //Cleanup [UNUSED]
18 mpcAboutBox, //Show About box [CALLBACK] 19 mpcAboutBox, //Show About box [CALLBACK]
19 mpcConfigBox, //Show Configure box [CALLBACK] 20 mpcConfigBox, //Show Configure box [CALLBACK]
21 FALSE, //Enabled/Disabled [BOOLEAN]
20 mpcIsOurFile, //Check if it's our file [CALLBACK] 22 mpcIsOurFile, //Check if it's our file [CALLBACK]
21 NULL, //Scan the directory [UNUSED] 23 NULL, //Scan the directory [UNUSED]
22 mpcPlay, //Play [CALLBACK] 24 mpcPlay, //Play [CALLBACK]
23 mpcStop, //Stop [CALLBACK] 25 mpcStop, //Stop [CALLBACK]
24 mpcPause, //Pause [CALLBACK] 26 mpcPause, //Pause [CALLBACK]
25 mpcSeek, //Seek [CALLBACK] 27 mpcSeek, //Seek [CALLBACK]
26 NULL, //Set EQ [CALLBACK] 28 NULL, //Set EQ [CALLBACK]
27 mpcGetTime, //Get Time [CALLBACK] 29 mpcGetTime, //Get Time [CALLBACK]
28 NULL, //Get Volume [UNUSED] 30 NULL, //Get Volume [UNUSED]
29 NULL, //Set Volume [UNUSED] 31 NULL, //Set Volume [UNUSED]
30 NULL, //Close Plugin [UNUSED]
31 NULL, //Obsolete [UNUSED] 32 NULL, //Obsolete [UNUSED]
32 NULL, //Visual plugins add_vis_pcm(int time, AFormat fmt, int nch, int length, void *ptr) 33 NULL, //Visual plugins add_vis_pcm(int time, AFormat fmt, int nch, int length, void *ptr)
33 NULL, //Set Info Settings set_info(char *title, int length, int rate, int freq, int nch) 34 NULL, //Set Info Settings set_info(char *title, int length, int rate, int freq, int nch)
34 NULL, //set Info Text set_info_text(char* text) 35 NULL, //set Info Text set_info_text(char* text)
35 mpcGetSongInfo, //Get Title String callback [CALLBACK] 36 mpcGetSongInfo, //Get Title String callback [CALLBACK]