diff options
author | Vladimir Druzenko <vvd@FreeBSD.org> | 2024-07-25 21:45:39 +0300 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2024-07-25 21:50:52 +0300 |
commit | 1a782b3157860d35e79a7b9dceb50bee7a7b7684 (patch) | |
tree | 28271d3e2dfaa9db880d1ee677c02a640020dbcf /audio/alsa-plugins/files/patch-oss_ctl__oss.c | |
parent | devel/binutils: add /usr/lib32 to search path (diff) |
audio/alsa-plugins: update 1.2.7.1 → 1.2.12
Also:
* refresh patches;
* change maintainer from ports@ to rodrigo@ - maintainer other alsa
ports: audio/alsa-lib audio/alsa-utils (if he is against changing the
maintainer, then I will return the old value ports@).
PR: 280144
Approved by: rodrigo (maintainer, timeout > 2 weeks)
Diffstat (limited to 'audio/alsa-plugins/files/patch-oss_ctl__oss.c')
-rw-r--r-- | audio/alsa-plugins/files/patch-oss_ctl__oss.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/audio/alsa-plugins/files/patch-oss_ctl__oss.c b/audio/alsa-plugins/files/patch-oss_ctl__oss.c index d36de65b15f0..c862b6d325c5 100644 --- a/audio/alsa-plugins/files/patch-oss_ctl__oss.c +++ b/audio/alsa-plugins/files/patch-oss_ctl__oss.c @@ -1,18 +1,6 @@ ---- oss/ctl_oss.c.orig 2022-01-29 13:06:39 UTC +--- oss/ctl_oss.c.orig 2024-06-10 09:18:39 UTC +++ oss/ctl_oss.c -@@ -26,7 +26,11 @@ - #include <sys/ioctl.h> - #include <alsa/asoundlib.h> - #include <alsa/control_external.h> -+#ifdef __linux__ - #include <linux/soundcard.h> -+#else -+#include <sys/soundcard.h> -+#endif - - typedef struct snd_ctl_oss { - snd_ctl_ext_t ext; -@@ -52,7 +56,7 @@ static const char *const vol_devices[SOUND_MIXER_NRDEV +@@ -59,7 +59,7 @@ static const char *const vol_devices[SOUND_MIXER_NRDEV [SOUND_MIXER_CD] = "CD Playback Volume", [SOUND_MIXER_IMIX] = "Monitor Mix Playback Volume", [SOUND_MIXER_ALTPCM] = "Headphone Playback Volume", @@ -21,7 +9,7 @@ [SOUND_MIXER_IGAIN] = "Capture Volume", [SOUND_MIXER_OGAIN] = "Playback Volume", [SOUND_MIXER_LINE1] = "Aux Playback Volume", -@@ -362,7 +366,9 @@ SND_CTL_PLUGIN_DEFINE_FUNC(oss) +@@ -369,7 +369,9 @@ SND_CTL_PLUGIN_DEFINE_FUNC(oss) { snd_config_iterator_t it, next; const char *device = "/dev/mixer"; @@ -31,7 +19,7 @@ int i, err, val; snd_ctl_oss_t *oss; -@@ -399,19 +405,29 @@ SND_CTL_PLUGIN_DEFINE_FUNC(oss) +@@ -406,19 +408,29 @@ SND_CTL_PLUGIN_DEFINE_FUNC(oss) goto error; } |