- change mixer device from /dev/mixer0 to /dev/mixer
- add patch to suppress a warning
This commit is contained in:
parent
a72c5f4b7c
commit
8f282ef8b5
@ -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
|
||||
|
11
audio/gqmpeg/patches/patch-ac
Normal file
11
audio/gqmpeg/patches/patch-ac
Normal 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) == ']')
|
||||
{
|
Loading…
Reference in New Issue
Block a user