Don't like ads? PRO users don't see any ads ;-)
Guest

patches.diff

By: a guest on Jan 23rd, 2011  |  syntax: None  |  size: 1.07 KB  |  hits: 66  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- fms-1.0/fmplayer.cpp.orig   2008-04-09 15:33:41.000000000 -0300
  2. +++ fms-1.0/fmplayer.cpp        2008-06-26 19:31:24.000000000 -0300
  3. @@ -26,6 +26,8 @@
  4.  #include "include/fmplayer_modulator.cpp"
  5.  #include "include/fmplayer_midi.cpp"
  6.  
  7. +#include <limits.h>
  8. +
  9.  const double exact_limit = 0.0021; // exacticity problems with fmod or anywhere
  10.  
  11.  void writeSoundByte(char * byte, bool wav, int bytes, int dspfd) {
  12. --- fms-1.0/include/fmplayer_mixer.cpp.orig     2008-04-09 15:33:41.000000000 -0300
  13. +++ fms-1.0/include/fmplayer_mixer.cpp  2008-06-26 19:32:46.000000000 -0300
  14. @@ -17,6 +17,8 @@
  15.  
  16.  /*----------------------------------------------------------------*/
  17.  
  18. +#include <limits.h>
  19. +
  20.  int FMMixer::lfd_nr = 1;
  21.  
  22.  FMMixer::FMMixer(FMChannel *parentChannel){
  23.  
  24.  
  25. --- fms-1.0/fmsbackend.cpp.orig 2011-01-23 21:54:17.803970198 +0100
  26. +++ fms-1.0/fmsbackend.cpp      2011-01-23 21:55:06.593977212 +0100
  27. @@ -21,6 +21,7 @@
  28.  #include <iostream>
  29.  #include <iomanip>
  30.  #include <cstring>
  31. +#include <cstdio>
  32.  #include <sys/socket.h>
  33.  #include <sys/un.h>
  34.  #include <unistd.h>