diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-09-11 11:33:31 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-09-13 08:24:58 +0200 |
commit | fe81684745e5c121e2d110bf6955e3f2858d2c7c (patch) | |
tree | d82af1c5bf21a7b1d556d63ba5b0dac1c62c76f1 /include | |
parent | b4c64e815a051e711798be1d772f123d19c1ff6e (diff) |
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 <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/pcm.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |