From: Takashi Iwai Date: Tue, 11 Sep 2012 09:33:31 +0000 (+0200) Subject: PCM: Add SND_CHMAP_API_VERSION definition X-Git-Tag: v1.0.27~50 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=fe81684745e5c121e2d110bf6955e3f2858d2c7c;p=alsa-lib.git 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 --- 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 */