summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/padsp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utils/padsp.c b/src/utils/padsp.c
index 9a2bad44..95fc9ed3 100644
--- a/src/utils/padsp.c
+++ b/src/utils/padsp.c
@@ -2279,11 +2279,12 @@ static int dsp_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno)
case SNDCTL_DSP_SETDUPLEX:
debug(DEBUG_LEVEL_NORMAL, __FILE__": SNDCTL_DSP_SETDUPLEX\n");
- /* this is a no-op */
- break;
+ /* this is a no-op */
+ break;
default:
- debug(DEBUG_LEVEL_NORMAL, __FILE__": unknown ioctl 0x%08lx\n", request);
+ /* Mixer ioctls are valid on /dev/dsp aswell */
+ return mixer_ioctl(i, request, argp, _errno);
inval:
*_errno = EINVAL;