core.mi 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /**
  2. Note:
  3. This file is a relict of Winamp3/Wasabi.Player.
  4. I have tested it and it seems not to work :(
  5. If anyone get's this one to work lemme know: [email protected]
  6. **/
  7. extern class @{F857BECA-8E19-41f1-973E-097E39649F03}@ Object _predecl CoreAdmin;
  8. extern class @{2825A91B-D488-4245-AAF1-7059CF88437B}@ Object &Core;
  9. extern Core CoreAdmin.getNamedCore(String name);
  10. extern Core CoreAdmin.newNamedCore(String name);
  11. extern Int CoreAdmin.freeCore(Core name);
  12. extern Int CoreAdmin.freeCoreByName(String name);
  13. extern Core.playFile(String filename);
  14. extern Core.stop();
  15. extern Core.setVolume(Int volume);
  16. extern Core.getStatus();
  17. // I love keyboard macros.
  18. extern Int Core.onStarted();
  19. extern Int Core.onStopped();
  20. extern Int Core.onPaused();
  21. extern Int Core.onUnpaused();
  22. extern Int Core.onSeeked(Int newpos);
  23. extern Int Core.onVolumeChange(Int newvol);
  24. extern Int Core.onPanChange(Int newpan);
  25. extern Int Core.onEQStatusChange(Int newval);
  26. extern Int Core.onEQPreampChange(Int newval);
  27. extern Int Core.onEQBandChange(Int band, Int newval);
  28. extern Int Core.onEQAutoChange(Int newval);
  29. extern Int Core.onCoreStatusMsg(String msgtext);
  30. extern Int Core.onWarningMsg(String msgtext);
  31. extern Int Core.onErrorMsg(String msgtext);
  32. extern Int Core.onTitleChange(String newtitle);
  33. extern Int Core.onTitle2Change(String newtitle2);
  34. extern Int Core.onInfoChange(String info);
  35. extern Int Core.onUrlChange(String url);
  36. extern Int Core.onLengthChange(Int newlength);
  37. extern Int Core.onNextFile();
  38. extern Int Core.onNeedNextFile(Int fileid);
  39. extern Int Core.onSetNextFile(String playstring);
  40. extern Int Core.onErrorOccured(Int severity, String errortext);
  41. extern Int Core.onAbortCurrentSong();
  42. extern Int Core.onEndOfDecode();
  43. extern Int Core.onFileComplete(String playstring);
  44. extern Int Core.onConvertersChainRebuilt();
  45. extern Int Core.onMediaFamilyChange(String newfamily);
  46. extern Int Core.setNextFile(String pstr);
  47. extern Int Core.getStatus();
  48. extern String Core.getCurrent();
  49. extern Int Core.getCurPlaybackNumber();
  50. extern Int Core.getNumTracks();
  51. extern Int Core.getPosition();
  52. extern Int Core.getWritePosition();
  53. extern Int Core.setPosition(Int ms);
  54. extern Int Core.getLength();
  55. extern Int Core.getVolume();
  56. extern Core.setVolume(Int vol);
  57. extern Int Core.getPan();
  58. extern Core.setPan(Int bal);
  59. extern Core.setMute(Int mute);
  60. extern Int Core.getMute();
  61. extern Int Core.getLeftVuMeter();
  62. extern Int Core.getRightVuMeter();
  63. extern Core.userButton(Int ubutton);
  64. extern Int Core.getEqStatus();
  65. extern Core.setEqStatus(Int enable);
  66. extern Int Core.getEqPreamp();
  67. extern Core.setEqPreamp(Int pre);
  68. extern Int Core.getEqBand(Int band);
  69. extern Core.setEqBand(Int band, Int val);
  70. extern Int Core.getEqAuto();
  71. extern Core.setEqAuto(Int enable);
  72. extern Core.setCustomMsg(String msgtext);
  73. extern Core.setPriority(Int priority);
  74. extern Int Core.getPriority();
  75. extern Core.rebuildConvertersChain();