- change mixer device from /dev/mixer0 to /dev/mixer

- add patch to suppress a warning
This commit is contained in:
brad 1999-12-07 00:10:12 +00:00
parent a72c5f4b7c
commit 8f282ef8b5
2 changed files with 40 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- mixer.c.orig Sat Aug 21 18:56:16 1999
+++ mixer.c Sat Aug 21 18:57:30 1999
--- mixer.c.orig Sat Jul 3 07:39:09 1999
+++ mixer.c Mon Dec 6 18:43:13 1999
@@ -24,7 +24,7 @@
#include <linux/soundcard.h>
#endif
@ -18,6 +18,33 @@
mixer_devinfo_t *infos;
mixer_ctrl_t *values;
void mixer_init(gint init_device_id)
@@ -189,7 +189,7 @@
mixer_device = getenv("MIXERDEVICE");
if (mixer_device == NULL)
- mixer_device = "/dev/mixer0";
+ mixer_device = "/dev/mixer";
if ((fd = open(mixer_device, O_RDWR)) == -1) {
perror(mixer_device);
@@ -259,7 +259,7 @@
mixer_device = getenv("MIXERDEVICE");
if (mixer_device == NULL)
- mixer_device = "/dev/mixer0";
+ mixer_device = "/dev/mixer";
if ((fd = open(mixer_device, O_RDWR)) == -1) {
perror(mixer_device);
@@ -303,7 +303,7 @@
mixer_device = getenv("MIXERDEVICE");
if (mixer_device == NULL)
- mixer_device = "/dev/mixer0";
+ mixer_device = "/dev/mixer";
if ((fd = open(mixer_device, O_RDWR)) == -1) {
perror(mixer_device);
@@ -595,7 +595,7 @@
#endif

View File

@ -0,0 +1,11 @@
--- io_mpg123.c.orig Mon Dec 6 18:45:18 1999
+++ io_mpg123.c Mon Dec 6 18:45:27 1999
@@ -596,7 +596,7 @@
return FALSE;
}
-#ifdef 0
+#if 0
/* we ignore escape sequences (for now) */
if (c == 27 && getc(mpgpipe) == ']')
{