mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Make sure mixer ioctls work on /dev/dsp aswell.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1473 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
14cbbe1096
commit
0694d2ae35
1 changed files with 4 additions and 3 deletions
|
|
@ -2279,11 +2279,12 @@ static int dsp_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno)
|
||||||
|
|
||||||
case SNDCTL_DSP_SETDUPLEX:
|
case SNDCTL_DSP_SETDUPLEX:
|
||||||
debug(DEBUG_LEVEL_NORMAL, __FILE__": SNDCTL_DSP_SETDUPLEX\n");
|
debug(DEBUG_LEVEL_NORMAL, __FILE__": SNDCTL_DSP_SETDUPLEX\n");
|
||||||
/* this is a no-op */
|
/* this is a no-op */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
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:
|
inval:
|
||||||
*_errno = EINVAL;
|
*_errno = EINVAL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue