snd_afm_info_t

Setup information about an AFM

Synopsis:

#define SND_AFM_INFO_ROUTE_MAIN 0x0001
#define SND_AFM_INFO_START_ON_BOOT 0x0002
#define SND_AFM_INFO_PASS_THROUGH 0x0004
#define SND_AFM_INFO_VOL_CTRL 0x0008

typedef struct snd_afm_info
{
    int32_t    card;
    int32_t    device;
    char       name[80];
    char       cardname[80];
    uint32_t   flags;
}snd_afm_info_t;

Description:

The snd_afm_info_t structure describes an AMP Functional Module (AFM). To get this information, call snd_afm_info().

The members include:

card
The sound card number.
device
The device number on the card.
name
The symbolic name associated with the device.
cardname
The name of the card.
flags
A bitwise union of SND_AFM_INFO_* information types, which correspond to values set in the [AFM] section of the audio configuration file:
  • SND_AFM_INFO_PASS_THROUGH — The enable_pass_through key is 1.
  • SND_AFM_INFO_ROUTE_MAIN — The sw_mixer_rout key is main.
  • SND_AFM_INFO_START_ON_BOOT — The start_on_boot key is 1.
  • SND_AFM_INFO_VOL_CTRL — The enable_vol_ctl key is 1.
For more information, see “Audio configuration file” in the entry for io_audio in the Utilities Reference.

Classification:

QNX Neutrino