mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
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
This commit is contained in:
parent
4c0a481f79
commit
4171f2504a
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue