Merge r1473 from trunk (mixer ioctls on /dev/dsp)
authorLennart Poettering <lennart@poettering.net>
Sun, 28 Oct 2007 16:45:59 +0000 (16:45 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 28 Oct 2007 16:45:59 +0000 (16:45 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1966 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/utils/padsp.c

index 299033e..b48af93 100644 (file)
@@ -2292,7 +2292,8 @@ static int dsp_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno)
             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;