summaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/sound/asound.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2020-02-12 11:04:23 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-09-10 18:15:22 -0300
commitf9f018e4d9a45a5464861418467b21d3d2ad569c (patch)
tree6caab61cfdff06026c220750994e68cf7fe5abea /tools/include/uapi/sound/asound.h
parentdfa00459c6264abd282452c4878e3a9117db23bb (diff)
downloadlinux-f9f018e4d9a45a5464861418467b21d3d2ad569c.tar.gz
linux-f9f018e4d9a45a5464861418467b21d3d2ad569c.tar.xz
tools include UAPI: Sync sound/asound.h copy with the kernel sources
Picking the changes from: 81be10934949da8b ("ALSA: pcm: Add SNDRV_PCM_INFO_EXPLICIT_SYNC flag") Which entails no changes in the tooling side as it doesn't introduce new ioctls. To silence this perf tools build warning: Warning: Kernel ABI header at 'tools/include/uapi/sound/asound.h' differs from latest version at 'include/uapi/sound/asound.h' diff -u tools/include/uapi/sound/asound.h include/uapi/sound/asound.h Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include/uapi/sound/asound.h')
-rw-r--r--tools/include/uapi/sound/asound.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/sound/asound.h b/tools/include/uapi/sound/asound.h
index d17c061950df..1d84ec9db93b 100644
--- a/tools/include/uapi/sound/asound.h
+++ b/tools/include/uapi/sound/asound.h
@@ -299,6 +299,7 @@ typedef int __bitwise snd_pcm_subformat_t;
#define SNDRV_PCM_INFO_HAS_LINK_ABSOLUTE_ATIME 0x02000000 /* report absolute hardware link audio time, not reset on startup */
#define SNDRV_PCM_INFO_HAS_LINK_ESTIMATED_ATIME 0x04000000 /* report estimated link audio time */
#define SNDRV_PCM_INFO_HAS_LINK_SYNCHRONIZED_ATIME 0x08000000 /* report synchronized audio/system time */
+#define SNDRV_PCM_INFO_EXPLICIT_SYNC 0x10000000 /* needs explicit sync of pointers and data */
#define SNDRV_PCM_INFO_DRAIN_TRIGGER 0x40000000 /* internal kernel flag - trigger in drain */
#define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 /* internal kernel flag - FIFO size is in frames */