Information about a sound card's hardware
typedef struct snd_ctl_hw_info
{
uint32_t type;
uint32_t hwdepdevs;
uint32_t pcmdevs;
uint32_t mixerdevs;
uint32_t mididevs;
uint32_t timerdevs;
char id[16];
char abbreviation[16];
char name[32];
char longname[80];
uint8_t reserved[128]; /* must be filled with zeroes */
} snd_ctl_hw_info_t;
The snd_ctl_hw_info_t structure describes a sound card's
hardware.
You can get this information by calling
snd_ctl_hw_info().
The members include:
- type
- The type of sound card.
Deprecated; don't use this member.
- hwdepdevs
- The total number of hardware-dependent devices on this sound card.
Deprecated; don't use this member.
- pcmdevs
- The total number of PCM devices on this sound card.
- mixerdevs
- The total number of mixer devices on this sound card.
- mididevs
- The total number of midi devices on this sound card.
Not supported at this time; don't use this member.
- timerdevs
- The total number of timer devices on this sound card.
Not supported at this time; don't use this member.
- id
- An ID string that identifies this sound card.
- abbreviation
- An abbreviated name for identifying this sound card.
- name
- A common name for this sound card.
- longname
- A unique, descriptive name for this sound card.
- reserved
- Reserved; this member must be filled with zeroes.
QNX Neutrino
snd_ctl_hw_info()