26 lines
816 B
Diff
26 lines
816 B
Diff
|
From fe81684745e5c121e2d110bf6955e3f2858d2c7c Mon Sep 17 00:00:00 2001
|
||
|
From: Takashi Iwai <tiwai@suse.de>
|
||
|
Date: Tue, 11 Sep 2012 11:33:31 +0200
|
||
|
Subject: [PATCH 14/30] 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>
|
||
|
---
|
||
|
include/pcm.h | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
--- a/include/pcm.h
|
||
|
+++ b/include/pcm.h
|
||
|
@@ -474,6 +474,9 @@ int snd_pcm_wait(snd_pcm_t *pcm, int tim
|
||
|
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 */
|