mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
add linuxulator wrapper for SNDCTL_DSP_GETODELAY
This commit is contained in:
parent
4d25c041fe
commit
fac9a03b4e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53902
@ -606,6 +606,7 @@ struct linux_new_utsname {
|
||||
#define LINUX_SNDCTL_DSP_SETTRIGGER 0x5010
|
||||
#define LINUX_SNDCTL_DSP_GETIPTR 0x5011
|
||||
#define LINUX_SNDCTL_DSP_GETOPTR 0x5012
|
||||
#define LINUX_SNDCTL_DSP_GETODELAY 0x5017
|
||||
#define LINUX_SOUND_MIXER_WRITE_VOLUME 0x4d00
|
||||
#define LINUX_SOUND_MIXER_WRITE_BASS 0x4d01
|
||||
#define LINUX_SOUND_MIXER_WRITE_TREBLE 0x4d02
|
||||
|
@ -900,6 +900,10 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args)
|
||||
args->cmd = SNDCTL_DSP_GETBLKSIZE;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
||||
case LINUX_SNDCTL_DSP_GETODELAY:
|
||||
args->cmd = SNDCTL_DSP_GETODELAY;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
||||
case LINUX_SNDCTL_DSP_SETFMT:
|
||||
args->cmd = SNDCTL_DSP_SETFMT;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
@ -606,6 +606,7 @@ struct linux_new_utsname {
|
||||
#define LINUX_SNDCTL_DSP_SETTRIGGER 0x5010
|
||||
#define LINUX_SNDCTL_DSP_GETIPTR 0x5011
|
||||
#define LINUX_SNDCTL_DSP_GETOPTR 0x5012
|
||||
#define LINUX_SNDCTL_DSP_GETODELAY 0x5017
|
||||
#define LINUX_SOUND_MIXER_WRITE_VOLUME 0x4d00
|
||||
#define LINUX_SOUND_MIXER_WRITE_BASS 0x4d01
|
||||
#define LINUX_SOUND_MIXER_WRITE_TREBLE 0x4d02
|
||||
|
@ -900,6 +900,10 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args)
|
||||
args->cmd = SNDCTL_DSP_GETBLKSIZE;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
||||
case LINUX_SNDCTL_DSP_GETODELAY:
|
||||
args->cmd = SNDCTL_DSP_GETODELAY;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
||||
case LINUX_SNDCTL_DSP_SETFMT:
|
||||
args->cmd = SNDCTL_DSP_SETFMT;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
Loading…
Reference in New Issue
Block a user