Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/audio/alsa-plugins/files/patch-oss_ctl__oss.c
16166 views
1
--- oss/ctl_oss.c.orig 2016-07-26 13:27:23 UTC
2
+++ oss/ctl_oss.c
3
@@ -26,7 +26,11 @@
4
#include <sys/ioctl.h>
5
#include <alsa/asoundlib.h>
6
#include <alsa/control_external.h>
7
+#ifdef __linux__
8
#include <linux/soundcard.h>
9
+#else
10
+#include <sys/soundcard.h>
11
+#endif
12
13
typedef struct snd_ctl_oss {
14
snd_ctl_ext_t ext;
15
@@ -52,7 +56,7 @@ static const char *const vol_devices[SOU
16
[SOUND_MIXER_CD] = "CD Playback Volume",
17
[SOUND_MIXER_IMIX] = "Monitor Mix Playback Volume",
18
[SOUND_MIXER_ALTPCM] = "Headphone Playback Volume",
19
- [SOUND_MIXER_RECLEV] = "Capture Volume",
20
+ [SOUND_MIXER_RECLEV] = "Master Capture Volume",
21
[SOUND_MIXER_IGAIN] = "Capture Volume",
22
[SOUND_MIXER_OGAIN] = "Playback Volume",
23
[SOUND_MIXER_LINE1] = "Aux Playback Volume",
24
25