api_core.cpp 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #include <precomp.h>
  2. #include "api_core.h"
  3. #ifdef CBCLASS
  4. #undef CBCLASS
  5. #endif
  6. #define CBCLASS api_coreI
  7. START_DISPATCH;
  8. CB(API_CORE_GETSUPPORTEDEXTENSIONS, core_getSupportedExtensions);
  9. CB(API_CORE_GETEXTSUPPORTEDEXTENSIONS, core_getExtSupportedExtensions);
  10. CB(API_CORE_CREATE, core_create);
  11. CB(API_CORE_FREE, core_free);
  12. CB(API_CORE_SETNEXTFILE, core_setNextFile);
  13. CB(API_CORE_GETSTATUS, core_getStatus);
  14. CB(API_CORE_GETCURRENT, core_getCurrent);
  15. CB(API_CORE_GETCURPLAYBACKNUMBER, core_getCurPlaybackNumber);
  16. CB(API_CORE_GETPOSITION, core_getPosition);
  17. CB(API_CORE_GETWRITEPOSITION, core_getWritePosition);
  18. CB(API_CORE_SETPOSITION, core_setPosition);
  19. CB(API_CORE_GETLENGTH, core_getLength);
  20. CB(API_CORE_GETPLUGINDATA, core_getPluginData);
  21. CB(API_CORE_GETVOLUME, core_getVolume);
  22. VCB(API_CORE_SETVOLUME, core_setVolume);
  23. CB(API_CORE_GETPAN, core_getPan);
  24. VCB(API_CORE_SETPAN, core_setPan);
  25. VCB(API_CORE_ADDCALLBACK, core_addCallback);
  26. VCB(API_CORE_DELCALLBACK, core_delCallback);
  27. CB(API_CORE_GETVISDATA, core_getVisData);
  28. CB(API_CORE_GETLEFTVUMETER, core_getLeftVuMeter);
  29. CB(API_CORE_GETRIGHTVUMETER, core_getRightVuMeter);
  30. CB(API_CORE_REGISTERSEQUENCER, core_registerSequencer);
  31. CB(API_CORE_DEREGISTERSEQUENCER, core_deregisterSequencer);
  32. VCB(API_CORE_USERBUTTON, core_userButton);
  33. CB(API_CORE_GETEQSTATUS, core_getEqStatus);
  34. VCB(API_CORE_SETEQSTATUS, core_setEqStatus);
  35. CB(API_CORE_GETEQPREAMP, core_getEqPreamp);
  36. VCB(API_CORE_SETEQPREAMP, core_setEqPreamp);
  37. CB(API_CORE_GETEQBAND, core_getEqBand);
  38. VCB(API_CORE_SETEQBAND, core_setEqBand);
  39. CB(API_CORE_GETEQAUTO, core_getEqAuto);
  40. VCB(API_CORE_SETEQAUTO, core_setEqAuto);
  41. VCB(API_CORE_SETCUSTOMMSG, core_setCustomMsg);
  42. VCB(API_CORE_REGISTEREXTENSION, core_registerExtension);
  43. CB(API_CORE_GETEXTENSIONFAMILY, core_getExtensionFamily);
  44. VCB(API_CORE_UNREGISTEREXTENSION, core_unregisterExtension);
  45. CB(API_CORE_GETTITLE, core_getTitle);
  46. CB(API_CORE_GETRATING, core_getRating);
  47. VCB(API_CORE_SETRATING, core_setRating);
  48. CB(API_CORE_GETDECODERNAME, core_getDecoderName);
  49. VCB(API_CORE_SETTITLE, core_setTitle);
  50. END_DISPATCH;