OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
3.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../rezound/64bit.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. CVS pull to make it not segfault on playback on 64bit platforms ...
  17. - Rene Rebe <rene@exactcode.de>
  18. ===================================================================
  19. RCS file: /cvsroot/rezound/rezound/src/backend/DSP/Convolver.h,v
  20. retrieving revision 1.6
  21. retrieving revision 1.7
  22. diff -u -r1.6 -r1.7
  23. --- rezound/src/backend/DSP/Convolver.h 2003/07/22 21:12:00 1.6
  24. +++ rezound/src/backend/DSP/Convolver.h 2005/11/12 04:13:29 1.7
  25. @@ -64,7 +64,7 @@
  26. const sample_t processSample(const sample_t input)
  27. {
  28. coefficient_t output=input*coefficients[0];
  29. - for(size_t t=coefficientCountSub1;t>0;t--)
  30. + for(unsigned t=coefficientCountSub1;t>0;t--)
  31. output+=delay.getSample(t)*coefficients[t];
  32. delay.putSample((coefficient_t)input);
  33. ===================================================================
  34. RCS file: /cvsroot/rezound/rezound/src/backend/CSoundPlayerChannel.cpp,v
  35. retrieving revision 1.37
  36. retrieving revision 1.38
  37. diff -u -r1.37 -r1.38
  38. --- rezound/src/backend/CSoundPlayerChannel.cpp 2005/08/21 01:01:15 1.37
  39. +++ rezound/src/backend/CSoundPlayerChannel.cpp 2005/11/12 04:13:29 1.38
  40. @@ -721,8 +721,8 @@
  41. if(!muted[i]) // ??? this memory needs to be locked for JACK's sake
  42. {
  43. // populate for interpolation
  44. - readBuffer[-(2*channelCount)+i]=prevLast2Frames[0][i];
  45. - readBuffer[- channelCount +i]=prevLast2Frames[1][i];
  46. + readBuffer[-(2*(int)channelCount)+(int)i]=prevLast2Frames[0][i];
  47. + readBuffer[- (int)channelCount +(int)i]=prevLast2Frames[1][i];
  48. const sample_t * const rreadBuffer=readBuffer-(2*channelCount);
  49. const vector<bool> outputRouting=getOutputRoute(0,i); // ??? this needs to be put into a data member of memory NOT TO BE SWAPPED for jack's sake and it needs to be updated in updateAfterEdit()
  50. @@ -765,8 +765,8 @@
  51. }
  52. // save the last 2 samples and (later) the offset into the next-to-last so that we can use it for interpolation the next go around
  53. - prevLast2Frames[0][i]=readBuffer[((framesRead-2)*channelCount)+i];
  54. - prevLast2Frames[1][i]=readBuffer[((framesRead-1)*channelCount)+i];
  55. + prevLast2Frames[0][i]=readBuffer[(((int)framesRead-2)*(int)channelCount)+(int)i];
  56. + prevLast2Frames[1][i]=readBuffer[(((int)framesRead-1)*(int)channelCount)+(int)i];
  57. }
  58. // if all channels were muted, or none were mapped to an output device then this value never got set