# HG changeset patch # User William Pitcock # Date 1189157416 18000 # Node ID 031e91938009357b7c8f9cf5bb7b34c77badf9b4 # Parent 87a52bc00926d2646168c0ef1ebc08c384d75506 musepack: C++ at it's worst. diff -r 87a52bc00926 -r 031e91938009 src/musepack/libmpc.cxx --- a/src/musepack/libmpc.cxx Fri Sep 07 04:27:58 2007 -0500 +++ b/src/musepack/libmpc.cxx Fri Sep 07 04:30:16 2007 -0500 @@ -15,8 +15,10 @@ NULL, //Filename char* filename (gchar *)"Musepack Audio Plugin", mpcOpenPlugin, //Open Plugin [CALLBACK] + NULL, //Cleanup [UNUSED] mpcAboutBox, //Show About box [CALLBACK] mpcConfigBox, //Show Configure box [CALLBACK] + FALSE, //Enabled/Disabled [BOOLEAN] mpcIsOurFile, //Check if it's our file [CALLBACK] NULL, //Scan the directory [UNUSED] mpcPlay, //Play [CALLBACK] @@ -27,7 +29,6 @@ mpcGetTime, //Get Time [CALLBACK] NULL, //Get Volume [UNUSED] NULL, //Set Volume [UNUSED] - NULL, //Close Plugin [UNUSED] NULL, //Obsolete [UNUSED] NULL, //Visual plugins add_vis_pcm(int time, AFormat fmt, int nch, int length, void *ptr) NULL, //Set Info Settings set_info(char *title, int length, int rate, int freq, int nch)