alsa-lib: Broken SNDRV_PCM_IOCTL_TTSTAMP entry
PATCH 1/1 alsa-lib: Broken SNDRV_PCM_IOCTL_TTSTAMP entry
Fixed a IOCTL entry that was broken with a recent update to alsa-driver.
---
Signed-off-by Matthew Ranostay <[email protected]>
include/sound/asound.h +1 -1
@@ -463,7 +463,7 @@ enum {enum {SNDRV_PCM_IOCTL_PVERSION =_IOR ('A' ,0x00 , int), SNDRV_PCM_IOCTL_INFO = _IOR('A', 0x01, struct sndrv_pcm_info), -SNDRV_PCM_IOCTL_TSTAMP =_IOW ('A' ,0x02 , int), +SNDRV_PCM_IOCTL_TTSTAMP =_IOW ('A' ,0x03 , int), SNDRV_PCM_IOCTL_HW_REFINE = _IOWR('A', 0x10, struct sndrv_pcm_hw_params), SNDRV_PCM_IOCTL_HW_PARAMS = _IOWR('A', 0x11, struct sndrv_pcm_hw_params),SNDRV_PCM_IOCTL_HW_FREE =_IO ('A' ,0x12 ),
src/pcm/pcm_hw.c +2 -2
@@ -978,9 +978,9 @@ int snd_pcm_hw_open_fd(snd_pcm_t **pcmp,if (SNDRV_PROTOCOL_VERSION (2 ,0 ,5 ) <= ver) {int on =1 ; -if (ioctl (fd,SNDRV_PCM_IOCTL_TSTAMP , &on) <0 ) { +if (ioctl (fd,SNDRV_PCM_IOCTL_TTSTAMP , &on) <0 ) { ret = -errno; -SNDMSG ("TSTAMP failed\n" ); +SNDMSG ("TTSTAMP failed\n" );return ret; } }
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Jaroslav Kysela
maintainerQuoted 1 line · Matthew Ranostay
Fixed a IOCTL entry that was broken with a recent update to alsa-driver.
This patch is broken. New ioctl is really new and not compatible with old.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project