diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-09-10 16:59:36 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-09-13 08:24:58 +0200 |
commit | 6950a1030c4f878b51104268e3cd13401d56bf60 (patch) | |
tree | 5495dd2721eabd3944725893e780fdfdf78e42ab /include | |
parent | ec96740d9919b5e0c050a4b91aebee4b1dbb8298 (diff) |
PCM: Fix prefix for snd_pcm_chmap_type enum members
Add _TYPE prefix to distinguish from the channel position.
Also add SND_CHMAP_TYPE_LAST entry pointing the last one like other
enums.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/pcm.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/pcm.h b/include/pcm.h index 8ae4cd8b..838809c0 100644 --- a/include/pcm.h +++ b/include/pcm.h @@ -476,10 +476,11 @@ int snd_pcm_unlink(snd_pcm_t *pcm); /** channel map list type */ enum snd_pcm_chmap_type { - SND_CHMAP_NONE = 0, /** unspecified channel position */ - SND_CHMAP_FIXED, /** fixed channel position */ - SND_CHMAP_VAR, /** freely swappable channel position */ - SND_CHMAP_PAIRED, /** pair-wise swappable channel position */ + SND_CHMAP_TYPE_NONE = 0,/** unspecified channel position */ + SND_CHMAP_TYPE_FIXED, /** fixed channel position */ + SND_CHMAP_TYPE_VAR, /** freely swappable channel position */ + SND_CHMAP_TYPE_PAIRED, /** pair-wise swappable channel position */ + SND_CHMAP_TYPE_LAST = SND_CHMAP_TYPE_PAIRED, /** last entry */ }; /** channel positions */ |