summaryrefslogtreecommitdiff
path: root/audio/cam/patches/patch-aa
blob: a6c3db3866cacac8cfd1cff01c9159e8ed0e6a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-aa,v 1.7 2000/09/30 17:24:49 hubertf Exp $

--- sounds.c.orig	Mon Oct 21 20:33:55 1996
+++ sounds.c
@@ -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);          
@@ -301,7 +301,7 @@
     int ch;
     int X,Y;
     int left = TRUE;   
-    int locked = FALSE;  
+    int locked = TRUE;  
     FILE *save_file; 
     int dev_nr = 0; 
     char *SAVE_FILE;