From fe81684745e5c121e2d110bf6955e3f2858d2c7c Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 11 Sep 2012 11:33:31 +0200 Subject: [PATCH] PCM: Add SND_CHMAP_API_VERSION definition Just to make it easier for apps to support chmap conditionally via simple ifdefs. Signed-off-by: Takashi Iwai --- include/pcm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/pcm.h b/include/pcm.h index 7ec1af2a..b27eb38d 100644 --- a/include/pcm.h +++ b/include/pcm.h @@ -474,6 +474,9 @@ int snd_pcm_wait(snd_pcm_t *pcm, int timeout); int snd_pcm_link(snd_pcm_t *pcm1, snd_pcm_t *pcm2); int snd_pcm_unlink(snd_pcm_t *pcm); +/** channel mapping API version number */ +#define SND_CHMAP_API_VERSION ((1 << 16) | (0 << 8) | 0) + /** channel map list type */ enum snd_pcm_chmap_type { SND_CHMAP_TYPE_NONE = 0,/** unspecified channel position */ -- 2.47.1