Add a stub for the Linux SOUND_MIXER_INFO ioctl (even though we don't
actually implement it), as some applications, such as RealProducer, expect to be able to use it. PR: kern/65971 Submitted by: Matt Wright
This commit is contained in:
parent
c99430ca9d
commit
f2d71bff49
@ -1698,6 +1698,10 @@ linux_ioctl_sound(struct thread *td, struct linux_ioctl_args *args)
|
||||
args->cmd = SETDIR(SOUND_MIXER_WRITE_LINE3);
|
||||
return (ioctl(td, (struct ioctl_args *)args));
|
||||
|
||||
case LINUX_SOUND_MIXER_INFO:
|
||||
args->cmd = SETDIR(SOUND_MIXER_INFO);
|
||||
return (ioctl(td, (struct ioctl_args *)args));
|
||||
|
||||
case LINUX_OSS_GETVERSION: {
|
||||
int version = linux_get_oss_version(td);
|
||||
return (copyout(&version, (void *)args->arg, sizeof(int)));
|
||||
|
@ -227,6 +227,7 @@
|
||||
#define LINUX_SOUND_MIXER_WRITE_LINE1 0x4d0E
|
||||
#define LINUX_SOUND_MIXER_WRITE_LINE2 0x4d0F
|
||||
#define LINUX_SOUND_MIXER_WRITE_LINE3 0x4d10
|
||||
#define LINUX_SOUND_MIXER_INFO 0x4d65
|
||||
#define LINUX_OSS_GETVERSION 0x4d76
|
||||
#define LINUX_SOUND_MIXER_READ_STEREODEVS 0x4dfb
|
||||
#define LINUX_SOUND_MIXER_READ_DEVMASK 0x4dfe
|
||||
|
Loading…
x
Reference in New Issue
Block a user