[Previous] [Contents] [Next]

snd_mixer_info()

Fill info with mixer device information

Synopsis:

#include <sys/asoundlib.h>

int snd_mixer_info( void * handle, 
                    snd_mixer_info_t * info );

Library:

libasound.so

Description:

The snd_mixer_info() function fills the info structure with information about the mixer device.

The information includes:

Returns:

Zero on success, or a negative value on error.

Errors:

-EINVAL
Invalid handle.

Examples:

See the example in Opening the mixer in the Controlling volume and balance chapter.

Classification:

ALSA

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

[Previous] [Contents] [Next]