summaryrefslogtreecommitdiff
path: root/audio/cam/files/patch-sounds.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:12:36 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:12:36 +0000
commit6df3e23245b2c3793f24e4c42dd330d59419494c (patch)
treee86901dd11e5a970cf6211165d2b26dbe637e186 /audio/cam/files/patch-sounds.c
parentlang/squeak: Claimed fix for PowerPC (diff)
Rename audio/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363157
Diffstat (limited to 'audio/cam/files/patch-sounds.c')
-rw-r--r--audio/cam/files/patch-sounds.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/cam/files/patch-sounds.c b/audio/cam/files/patch-sounds.c
new file mode 100644
index 000000000000..5c19493a2743
--- /dev/null
+++ b/audio/cam/files/patch-sounds.c
@@ -0,0 +1,21 @@
+diff -ru ../cam-1.02-virgin/sounds.c ./sounds.c
+--- ../cam-1.02-virgin/sounds.c Mon Oct 21 13:33:55 1996
++++ ./sounds.c Sun Nov 10 12:20:22 1996
+@@ -36,7 +36,7 @@
+
+
+ int mixer_fd, recmask, devmask, stereodevs, recsrc;
+-char *devname[DEV_COUNT] = SOUND_DEVICE_LABELS;
++char *cam_devname[DEV_COUNT] = SOUND_DEVICE_LABELS;
+ char *mixer_dev = "/dev/mixer";
+ struct devices
+ {
+@@ -287,7 +287,7 @@
+ else
+ dev_vol[dev_count].vol_right = dev_vol[dev_count].vol_left;
+
+- draw_slider( Y, X, devname[dev_nr]);
++ draw_slider( Y, X, cam_devname[dev_nr]);
+ draw_handle( Y+1, X+14+dev_vol[dev_count].vol_left, FALSE, 4);
+ if (STEREO(dev_nr))
+ draw_handle( Y+2, X+14+dev_vol[dev_count].vol_right, FALSE, 4);