freebsd-ports/audio/gdam/files/patch-server-plugins-gdasflange.c
Joe Marcus Clarke 699802796e Add gdam, a DJ mixing application suitable for live performances. GDam offers:
* Client/server architecture
* Mixing of multiple mp3 files
* Dynamic filter insertion and removal
* Multiple sound device support (speakers and monitor)
* Loops, queues, sampler, beat matching, sequencer
* Record your performance to a disk

And it's blue!

PR:		59025
Submitted by:	Pav Lucistnik <pav@oook.cz>
Requested by:	Martin Vana <martin.vana@vslib.cz>
2003-11-06 22:48:48 +00:00

17 lines
628 B
C

--- server/plugins/gdasflange.c.orig Sat Feb 23 01:17:35 2002
+++ server/plugins/gdasflange.c Thu Nov 6 18:01:13 2003
@@ -92,10 +92,12 @@
int delay;
int value;
int volume;
+ GdamSample sample;
delay = flange->echoes[echo].delay;
delay = (gint64) factor *delay / GdamFixed_ONE;
- value = gdas_buffering_filter_sample_at
- (buffering_filter, delay).s[channel];
+ sample = gdas_buffering_filter_sample_at
+ (buffering_filter, delay);
+ value = sample.s[channel];
volume = flange->echoes[echo].volume;
sum += GDAM_FIXED_MUL (volume, value);
}