diff options
Diffstat (limited to 'sys/sunaudio/gstsunaudiomixerctrl.c')
-rw-r--r-- | sys/sunaudio/gstsunaudiomixerctrl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sunaudio/gstsunaudiomixerctrl.c b/sys/sunaudio/gstsunaudiomixerctrl.c index 067eb117..4a6244b6 100644 --- a/sys/sunaudio/gstsunaudiomixerctrl.c +++ b/sys/sunaudio/gstsunaudiomixerctrl.c @@ -29,6 +29,7 @@ #include <string.h> #include <errno.h> #include <sys/ioctl.h> +#include <sys/mixer.h> #include <gst/gst-i18n-plugin.h> @@ -60,6 +61,8 @@ gst_sunaudiomixer_ctrl_open (GstSunAudioMixerCtrl * mixer) return FALSE; } + /* Try to set the multiple open flag if we can, but ignore errors */ + ioctl (mixer->mixer_fd, AUDIO_MIXER_MULTIPLE_OPEN); mixer->mixer_fd = fd; return TRUE; |