changeset 1621:031e91938009

musepack: C++ at it's worst.
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 04:30:16 -0500
parents 87a52bc00926
children b7665ebc9e1e 99188e0c8959 aa40f1404257
files src/musepack/libmpc.cxx
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)