summaryrefslogtreecommitdiffstats
path: root/src/utils/padsp.c
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2007-01-19 08:00:31 +0000
committerPierre Ossman <ossman@cendio.se>2007-01-19 08:00:31 +0000
commit4171f2504a4e0de5c46c3237da009f5355cf57ec (patch)
treed4fff031d817db3551dc26331304e03d23c087c3 /src/utils/padsp.c
parent4c0a481f79715c0e783000c75e800d2401c11019 (diff)
Make sure we report success for SNDCTL_DSP_SETDUPLEX.
(Patch by ZlatkO) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1422 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/utils/padsp.c')
-rw-r--r--src/utils/padsp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/padsp.c b/src/utils/padsp.c
index b4c5bb0b..2b314a9c 100644
--- a/src/utils/padsp.c
+++ b/src/utils/padsp.c
@@ -2145,6 +2145,11 @@ static int dsp_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno)
debug(DEBUG_LEVEL_NORMAL, __FILE__": invalid ioctl SNDCTL_DSP_GETIPTR\n");
goto inval;
+ case SNDCTL_DSP_SETDUPLEX:
+ debug(DEBUG_LEVEL_NORMAL, __FILE__": SNDCTL_DSP_SETDUPLEX\n");
+ /* this is a no-op */
+ break;
+
default:
debug(DEBUG_LEVEL_NORMAL, __FILE__": unknown ioctl 0x%08lx\n", request);