summaryrefslogtreecommitdiff
path: root/audio/cam/patches/patch-aa
blob: 7ce47316e43410a8f90820d987d99da4943abc88 (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
$NetBSD: patch-aa,v 1.5 2000/04/15 23:50:33 mycroft Exp $

--- sounds.c.orig	Mon Oct 21 14:33:55 1996
+++ sounds.c	Sat Apr 15 19:33:31 2000
@@ -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);          
@@ -331,6 +331,7 @@
     do { 
        
        status( ((locked  == TRUE) ? "  LOCKED  " : " UNLOCKED ")); 
+       refresh();
        ch = getch(); 
        fflush(stdin); 
        message("");