diff options
Diffstat (limited to 'audio/soundtracker/files/patch-app_tracer.c')
-rw-r--r-- | audio/soundtracker/files/patch-app_tracer.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/audio/soundtracker/files/patch-app_tracer.c b/audio/soundtracker/files/patch-app_tracer.c deleted file mode 100644 index 8b137b394461..000000000000 --- a/audio/soundtracker/files/patch-app_tracer.c +++ /dev/null @@ -1,41 +0,0 @@ ---- app/tracer.c.orig 2006-02-25 12:30:54 UTC -+++ app/tracer.c -@@ -361,15 +361,19 @@ static st_mixer mixer_tracer = { - void - tracer_trace (int mixfreq, int songpos, int patpos) - { -+ st_mixer *real_mixer; -+ int stopsongpos, stoppatpos; -+ double rest, previous; -+ - /* Attemp to take pitchband into account */ - /* Test if tempo and BPM are traced */ -- st_mixer *real_mixer = mixer; -+ real_mixer = mixer; - mixer = &mixer_tracer; - -- int stopsongpos = songpos; -- int stoppatpos = patpos; -+ stopsongpos = songpos; -+ stoppatpos = patpos; - -- double rest = 0, previous = 0; /* Fractional part of the samples */ -+ rest = 0, previous = 0; /* Fractional part of the samples */ - - if((stoppatpos -= 1) < 0){ - stopsongpos -= 1; -@@ -381,12 +385,13 @@ tracer_trace (int mixfreq, int songpos, - - while(1) { - double t; -+ guint32 samples; - - double current = xmplayer_play(); - t = current - previous + rest; - previous = current; - -- guint32 samples = t * mixfreq; -+ samples = t * mixfreq; - rest = t - (double)samples / (double)mixfreq; - - tracer_mix(NULL, samples, NULL, 0); |