snd_mixer_info()
Get general information about a mixer device
Synopsis:
#include <sys/asoundlib.h> int snd_mixer_info( snd_mixer_t *handle, snd_mixer_info_t *info );
Arguments:
- handle
- The handle for the mixer device. This must have been created by snd_mixer_open() .
- info
- A pointer to a snd_mixer_info_t structure that snd_mixer_info() fills in with the information about the mixer device.
Library:
libasound.so
Use the -l asound option to qcc to link against this library.
Description:
The snd_mixer_info() function fills the info structure with information about the mixer device, including the:
- device name
- device type
- number of mixer groups and elements the mixer contains.
Returns:
Zero on success, or a negative value on error.
Errors:
- -EINVAL
- Invalid handle.
Classification:
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |