File paulstretch-gcc.patch of Package paulstretch
Index: paulstretch-2.2-2/BinauralBeats.h
===================================================================
--- paulstretch-2.2-2.orig/BinauralBeats.h
+++ paulstretch-2.2-2/BinauralBeats.h
@@ -38,6 +38,7 @@ class AP{//allpass
};
REALTYPE set(REALTYPE a_){
a=a_*a_;
+ return a;
};
private:
REALTYPE in1,in2,out1,out2;
Index: paulstretch-2.2-2/FreeEdit.cpp
===================================================================
--- paulstretch-2.2-2.orig/FreeEdit.cpp
+++ paulstretch-2.2-2/FreeEdit.cpp
@@ -111,7 +111,7 @@ void FreeEdit::get_curve(int datasize,RE
REALTYPE x0=0;
if (diffx>1e-5) x0=(x-px1)/diffx;
if (interp_mode==COSINE) x0=(1.0-cos(x0*M_PI))*0.5;
- REALTYPE y=y=posy[p1]*(1.0-x0)+posy[p2]*x0;
+ REALTYPE y=posy[p1]*(1.0-x0)+posy[p2]*x0;
data[i]=y;
};
Index: paulstretch-2.2-2/JAaudiooutput.cpp
===================================================================
--- paulstretch-2.2-2.orig/JAaudiooutput.cpp
+++ paulstretch-2.2-2/JAaudiooutput.cpp
@@ -139,6 +139,7 @@ void *jack_player_thread(void *){
src_delete(src_state);
free(smpbuf);
#endif
+ return NULL;
}
void JACKaudiooutputinit(Player *player_, int samplerate){