freebsd-ports/audio/cam/files/patch-sounds.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

20 lines
713 B
C

--- sounds.c.orig 1996-10-21 18:33:55 UTC
+++ 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 @@ void init_sliders(void)
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);