add flac package (thanks to David Collet)
[openwrt.git] / openwrt / package / mpd / patches / devices.patch
1 diff -rNu mpd--uclinux--1--patch-10.normalperson-05.OLD/src/audio_oss.c mpd--uclinux--1--patch-10.normalperson-05/src/audio_oss.c
2 --- mpd--uclinux--1--patch-10.normalperson-05.OLD/src/audio_oss.c 2005-07-03 21:23:39.000000000 +1000
3 +++ mpd--uclinux--1--patch-10.normalperson-05/src/audio_oss.c 2005-09-11 13:58:44.074459376 +1000
4 @@ -179,7 +179,7 @@
5 copyAudioFormat(&audio_format,audioFormat);
6
7 blockSignals();
8 - audio_device = open("/dev/dsp", O_WRONLY);
9 + audio_device = open("/dev/sound/dsp", O_WRONLY);
10
11 if (audio_device < 0) err |= 1;
12
13 @@ -199,7 +199,7 @@
14 unblockSignals();
15
16 if (err)
17 - ERROR("Error opening /dev/dsp: 0x%x\n");
18 + ERROR("Error opening /dev/sound/dsp: 0x%x\n");
19 if (!audio_device)
20 return -1;
21 #endif
22 diff -rNu mpd--uclinux--1--patch-10.normalperson-05.OLD/src/volume.c mpd--uclinux--1--patch-10.normalperson-05/src/volume.c
23 --- mpd--uclinux--1--patch-10.normalperson-05.OLD/src/volume.c 2005-05-05 18:19:03.000000000 +1000
24 +++ mpd--uclinux--1--patch-10.normalperson-05/src/volume.c 2005-09-11 14:04:17.013844896 +1000
25 @@ -41,7 +41,7 @@
26 #define VOLUME_MIXER_TYPE_ALSA 2
27
28 #define VOLUME_MIXER_SOFTWARE_DEFAULT ""
29 -#define VOLUME_MIXER_OSS_DEFAULT "/dev/mixer"
30 +#define VOLUME_MIXER_OSS_DEFAULT "/dev/sound/mixer"
31 #define VOLUME_MIXER_ALSA_DEFAULT "default"
32 #define VOLUME_MIXER_ALSA_CONTROL_DEFAULT "PCM"
33
This page took 0.041292 seconds and 5 git commands to generate.