Implement missing SOUND_MIXER_WRITE_RECSRC ioctl.
PR: 22971 Tested by: dougb
This commit is contained in:
parent
3033a4df0e
commit
33b3cce08c
@ -1106,6 +1106,10 @@ linux_ioctl_sound(struct thread *td, struct linux_ioctl_args *args)
|
|||||||
args->cmd = SOUND_MIXER_READ_DEVMASK;
|
args->cmd = SOUND_MIXER_READ_DEVMASK;
|
||||||
return (ioctl(td, (struct ioctl_args *)args));
|
return (ioctl(td, (struct ioctl_args *)args));
|
||||||
|
|
||||||
|
case LINUX_SOUND_MIXER_WRITE_RECSRC:
|
||||||
|
args->cmd = SETDIR(SOUND_MIXER_WRITE_RECSRC);
|
||||||
|
return (ioctl(td, (struct ioctl_args *)args));
|
||||||
|
|
||||||
case LINUX_SNDCTL_DSP_RESET:
|
case LINUX_SNDCTL_DSP_RESET:
|
||||||
args->cmd = SNDCTL_DSP_RESET;
|
args->cmd = SNDCTL_DSP_RESET;
|
||||||
return (ioctl(td, (struct ioctl_args *)args));
|
return (ioctl(td, (struct ioctl_args *)args));
|
||||||
|
@ -177,6 +177,7 @@
|
|||||||
#define LINUX_SOUND_MIXER_WRITE_LINE3 0x4d10
|
#define LINUX_SOUND_MIXER_WRITE_LINE3 0x4d10
|
||||||
#define LINUX_OSS_GETVERSION 0x4d76
|
#define LINUX_OSS_GETVERSION 0x4d76
|
||||||
#define LINUX_SOUND_MIXER_READ_DEVMASK 0x4dfe
|
#define LINUX_SOUND_MIXER_READ_DEVMASK 0x4dfe
|
||||||
|
#define LINUX_SOUND_MIXER_WRITE_RECSRC 0x4dff
|
||||||
#define LINUX_SNDCTL_DSP_RESET 0x5000
|
#define LINUX_SNDCTL_DSP_RESET 0x5000
|
||||||
#define LINUX_SNDCTL_DSP_SYNC 0x5001
|
#define LINUX_SNDCTL_DSP_SYNC 0x5001
|
||||||
#define LINUX_SNDCTL_DSP_SPEED 0x5002
|
#define LINUX_SNDCTL_DSP_SPEED 0x5002
|
||||||
|
Loading…
Reference in New Issue
Block a user