diff options
| author | Yu Hao <yhao016@ucr.edu> | 2022-09-26 11:35:05 -0700 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-09-28 16:31:28 +0200 |
| commit | b485720cba89f4f8a0e542a8c350a21b981d1af9 (patch) | |
| tree | 69f88ac8f7af5616605e38949927ffa19eaa68cd /sys/linux/dev_snd_timer.txt | |
| parent | 8bcc326376d1f528a2fb2869c95f32849a50840e (diff) | |
sys/linux: fix errors
Diffstat (limited to 'sys/linux/dev_snd_timer.txt')
| -rw-r--r-- | sys/linux/dev_snd_timer.txt | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/sys/linux/dev_snd_timer.txt b/sys/linux/dev_snd_timer.txt index a2c03df0e..c918671ac 100644 --- a/sys/linux/dev_snd_timer.txt +++ b/sys/linux/dev_snd_timer.txt @@ -20,8 +20,8 @@ ioctl$SNDRV_TIMER_IOCTL_GSTATUS(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_GSTA ioctl$SNDRV_TIMER_IOCTL_SELECT(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_SELECT], arg ptr[in, snd_timer_select]) ioctl$SNDRV_TIMER_IOCTL_INFO(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_INFO], arg buffer[out]) ioctl$SNDRV_TIMER_IOCTL_PARAMS(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_PARAMS], arg ptr[in, snd_timer_params]) -ioctl$SNDRV_TIMER_IOCTL_STATUS32(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS32], arg ptr[out, array[int8, SND_TIMER_STATUS32_SIZE]]) -ioctl$SNDRV_TIMER_IOCTL_STATUS64(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS64], arg ptr[out, array[int8, SND_TIMER_STATUS64_SIZE]]) +ioctl$SNDRV_TIMER_IOCTL_STATUS32(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS32], arg ptr[out, snd_timer_status32]) +ioctl$SNDRV_TIMER_IOCTL_STATUS64(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS64], arg ptr[out, snd_timer_status64]) ioctl$SNDRV_TIMER_IOCTL_START(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_START]) ioctl$SNDRV_TIMER_IOCTL_STOP(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STOP]) ioctl$SNDRV_TIMER_IOCTL_CONTINUE(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_CONTINUE]) @@ -79,6 +79,26 @@ snd_timer_params { pad2 array[const[0, int8], 60] } +snd_timer_status32 { + tstamp_sec int32 + tstamp_nsec int32 + resolution int32 + lost int32 + overrun int32 + queue int32 + pad2 array[const[0, int8], 64] +} + +snd_timer_status64 { + tstamp_sec int64 + tstamp_nsec int64 + resolution int32 + lost int32 + overrun int32 + queue int32 + pad2 array[const[0, int8], 64] +} + define SND_TIMER_STATUS32_SIZE 88 define SND_TIMER_STATUS64_SIZE 96 define SNDRV_TIMER_IOCTL_STATUS32 _IOR('T', 0x14, char[SND_TIMER_STATUS32_SIZE]) |
