summaryrefslogtreecommitdiff
path: root/audio/gdam/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-06 22:48:48 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-06 22:48:48 +0000
commit699802796e9c26d15ae587a5ed62ff6e9281328b (patch)
tree4fa37d87ca3a58d987dc32d05cca27e3940ae006 /audio/gdam/files
parentupdate MASTER_SITES [1] (diff)
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>
Diffstat (limited to 'audio/gdam/files')
-rw-r--r--audio/gdam/files/patch-defaults-server.config13
-rw-r--r--audio/gdam/files/patch-server-plugins-gdasflange.c17
-rw-r--r--audio/gdam/files/patch-server-plugins-gdasspatialstereo.c28
3 files changed, 58 insertions, 0 deletions
diff --git a/audio/gdam/files/patch-defaults-server.config b/audio/gdam/files/patch-defaults-server.config
new file mode 100644
index 000000000000..4a62d1176a5b
--- /dev/null
+++ b/audio/gdam/files/patch-defaults-server.config
@@ -0,0 +1,13 @@
+--- defaults/server.config.orig Sat Feb 23 02:21:27 2002
++++ defaults/server.config Thu Nov 6 22:01:26 2003
+@@ -20,8 +20,8 @@
+ # If you have OSS or ALSA + OSS compatability, use these.
+ # Some devices need the 'fork' option to keep from hanging.
+ #
+-Device "oss" "/dev/dsp" "numfragments=3:logfragsize=12"
+-#Device "oss" "/dev/dsp" "fork"
++#Device "oss" "/dev/dsp" "numfragments=3:logfragsize=12"
++Device "oss" "/dev/dsp" "fork"
+ Device "oss" "/dev/dsp1"
+ Device "oss" "/dev/dsp2"
+
diff --git a/audio/gdam/files/patch-server-plugins-gdasflange.c b/audio/gdam/files/patch-server-plugins-gdasflange.c
new file mode 100644
index 000000000000..71d5cf9f5d21
--- /dev/null
+++ b/audio/gdam/files/patch-server-plugins-gdasflange.c
@@ -0,0 +1,17 @@
+--- 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);
+ }
diff --git a/audio/gdam/files/patch-server-plugins-gdasspatialstereo.c b/audio/gdam/files/patch-server-plugins-gdasspatialstereo.c
new file mode 100644
index 000000000000..21e992a064e8
--- /dev/null
+++ b/audio/gdam/files/patch-server-plugins-gdasspatialstereo.c
@@ -0,0 +1,28 @@
+--- server/plugins/gdasspatialstereo.c.orig Thu Nov 6 21:09:55 2003
++++ server/plugins/gdasspatialstereo.c Thu Nov 6 21:12:59 2003
+@@ -54,9 +54,9 @@
+ (GtkObject* object, GdamArg* arg) \
+ { \
+ GdasSpatialStereo* spatial = GDAS_SPATIAL_STEREO(object); \
+- spatial->##prefix##_x = GDAM_ARG_DOUBLE_ARRAY(arg).array[0]; \
+- spatial->##prefix##_y = GDAM_ARG_DOUBLE_ARRAY(arg).array[1]; \
+- spatial->##prefix##_z = GDAM_ARG_DOUBLE_ARRAY(arg).array[2]; \
++ spatial->/**/prefix##_x = GDAM_ARG_DOUBLE_ARRAY(arg).array[0]; \
++ spatial->/**/prefix##_y = GDAM_ARG_DOUBLE_ARRAY(arg).array[1]; \
++ spatial->/**/prefix##_z = GDAM_ARG_DOUBLE_ARRAY(arg).array[2]; \
+ } \
+ \
+ static void gdam_spatial_arg_get_##arg_name \
+@@ -65,9 +65,9 @@
+ GdasSpatialStereo* spatial = GDAS_SPATIAL_STEREO(object); \
+ GDAM_ARG_DOUBLE_ARRAY(arg).length = 3; \
+ GDAM_ARG_DOUBLE_ARRAY(arg).array = g_new(double, 3); \
+- GDAM_ARG_DOUBLE_ARRAY(arg).array[0] = spatial->##prefix##_x; \
+- GDAM_ARG_DOUBLE_ARRAY(arg).array[1] = spatial->##prefix##_y; \
+- GDAM_ARG_DOUBLE_ARRAY(arg).array[2] = spatial->##prefix##_z; \
++ GDAM_ARG_DOUBLE_ARRAY(arg).array[0] = spatial->/**/prefix##_x; \
++ GDAM_ARG_DOUBLE_ARRAY(arg).array[1] = spatial->/**/prefix##_y; \
++ GDAM_ARG_DOUBLE_ARRAY(arg).array[2] = spatial->/**/prefix##_z; \
+ }
+
+ define_set_and_get(left_ear, lear)