audiofile support + improved sample rate support + results of a -Wall -Werr
[terminatorX.git] / src / tX_seqpar.cc
index f9e651a4761f90c6db98f17dc813fdc04ab5d846..6f42f29966464e2608fe0478f1a3cf1a6d823d99 100644 (file)
@@ -150,7 +150,7 @@ void tX_seqpar :: create_persistence_ids()
        }
 }
 
-tX_seqpar* tX_seqpar :: get_sp_by_persistence_id(int pid)
+tX_seqpar* tX_seqpar :: get_sp_by_persistence_id(unsigned int pid)
 {
        list <tX_seqpar *> :: iterator sp;
        
@@ -384,7 +384,7 @@ void tX_seqpar_vtt_speed :: handle_mouse_input(float adjustment)
 
 void tX_seqpar_vtt_speed :: do_exec(const float value)
 {
-       tt->speed=value;
+       tt->speed=value*tt->audiofile_pitch_correction;
 }
 
 const char * tX_seqpar_vtt_speed :: get_name()