mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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>
This commit is contained in:
parent
b4c64e815a
commit
fe81684745
1 changed files with 3 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue