mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-12 04:27:45 -05:00
Add SND_CHMAP_NA and bit flag definitions
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
0f36270dd3
commit
48c2c90f19
3 changed files with 23 additions and 7 deletions
|
|
@ -479,7 +479,7 @@ enum {
|
|||
|
||||
/* channel positions */
|
||||
enum {
|
||||
/* this follows the alsa-lib mixer channel value + 1*/
|
||||
/* this follows the alsa-lib mixer channel value + 1 */
|
||||
SNDRV_CHMAP_UNKNOWN = 0,
|
||||
SNDRV_CHMAP_FL, /* front left */
|
||||
SNDRV_CHMAP_FR, /* front right */
|
||||
|
|
@ -501,9 +501,14 @@ enum {
|
|||
SNDRV_CHMAP_FCH, /* front center high */
|
||||
SNDRV_CHMAP_FRH, /* front right high */
|
||||
SNDRV_CHMAP_TC, /* top center */
|
||||
SNDRV_CHMAP_LAST = SNDRV_CHMAP_TC,
|
||||
SNDRV_CHMAP_NA, /* N/A, silent */
|
||||
SNDRV_CHMAP_LAST = SNDRV_CHMAP_NA,
|
||||
};
|
||||
|
||||
#define SNDRV_CHMAP_POSITION_MASK 0xffff
|
||||
#define SNDRV_CHMAP_PHASE_INVERSE (0x01 << 16)
|
||||
#define SNDRV_CHMAP_DRIVER_SPEC (0x02 << 16)
|
||||
|
||||
enum {
|
||||
SNDRV_PCM_IOCTL_PVERSION = _IOR('A', 0x00, int),
|
||||
SNDRV_PCM_IOCTL_INFO = _IOR('A', 0x01, struct sndrv_pcm_info),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue