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