Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include "s3music.h"
  2. #include "harness/trace.h"
  3.  
  4. int gS3_midi_enabled;
  5.  
  6. void S3DisableMIDI(void) {
  7.     S3StopMIDIOutlets();
  8.     gS3_midi_enabled = 0;
  9. }
  10.  
  11. void S3StopMIDIOutlets(void) {
  12.     STUB();
  13. }
  14.  
  15. void S3ReleaseMIDI(tS3_sound_tag tag) {
  16. }
  17.  
  18. int S3PlayMIDI(tS3_channel* chan) {
  19.     return 0;
  20. }
  21. int S3MIDILoadSong(tS3_channel* chan) {
  22.     return 0;
  23. }
  24. int S3SetMIDIVolume(tS3_channel* chan) {
  25.     return 0;
  26. }
  27.  
  28. int S3StopMIDI(tS3_channel* chan) {
  29.     // if (gS3_midi_enabled && chan->active && chan->type == 1) {
  30.     //     S3SendMCICloseCommand(chan);
  31.     //     chan->active = 0;
  32.     // }
  33.     return 0;
  34. }
  35.  
  36. int S3IsMIDIStopped(tS3_channel* chan) {
  37.     return 1;
  38. }
  39.