Add stub for Linux SOUND_MIXER_READ_RECMASK, required by some Linux sound
applications. PR: misc/27471 Submitted by: Gavin Atkinson (with cleanups)
This commit is contained in:
parent
86030e4a00
commit
cc5f91ee35
@ -1711,6 +1711,10 @@ linux_ioctl_sound(struct thread *td, struct linux_ioctl_args *args)
|
||||
args->cmd = SOUND_MIXER_READ_STEREODEVS;
|
||||
return (ioctl(td, (struct ioctl_args *)args));
|
||||
|
||||
case LINUX_SOUND_MIXER_READ_RECMASK:
|
||||
args->cmd = SOUND_MIXER_READ_RECMASK;
|
||||
return (ioctl(td, (struct ioctl_args *)args));
|
||||
|
||||
case LINUX_SOUND_MIXER_READ_DEVMASK:
|
||||
args->cmd = SOUND_MIXER_READ_DEVMASK;
|
||||
return (ioctl(td, (struct ioctl_args *)args));
|
||||
|
@ -230,6 +230,7 @@
|
||||
#define LINUX_SOUND_MIXER_INFO 0x4d65
|
||||
#define LINUX_OSS_GETVERSION 0x4d76
|
||||
#define LINUX_SOUND_MIXER_READ_STEREODEVS 0x4dfb
|
||||
#define LINUX_SOUND_MIXER_READ_RECMASK 0x4dfd
|
||||
#define LINUX_SOUND_MIXER_READ_DEVMASK 0x4dfe
|
||||
#define LINUX_SOUND_MIXER_WRITE_RECSRC 0x4dff
|
||||
#define LINUX_SNDCTL_DSP_RESET 0x5000
|
||||
|
Loading…
Reference in New Issue
Block a user