mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[ALSA] PCM - added back TSTAMP ioctl for PCM (for old alsa-lib binaries)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f85bf29c94
commit
28e9e47384
2 changed files with 3 additions and 0 deletions
|
@ -2546,6 +2546,8 @@ static int snd_pcm_common_ioctl1(struct file *file,
|
|||
return put_user(SNDRV_PCM_VERSION, (int __user *)arg) ? -EFAULT : 0;
|
||||
case SNDRV_PCM_IOCTL_INFO:
|
||||
return snd_pcm_info_user(substream, arg);
|
||||
case SNDRV_PCM_IOCTL_TSTAMP: /* just for compatibility */
|
||||
return 0;
|
||||
case SNDRV_PCM_IOCTL_TTSTAMP:
|
||||
return snd_pcm_tstamp(substream, arg);
|
||||
case SNDRV_PCM_IOCTL_HW_REFINE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue