![]() |
![]() |
![]() |
Get information about a soundcard
#include <sys/asoundlib.h> int snd_ctl_hw_info( snd_ctl_t * handle, struct snd_ctl_hw_info * info );
libasound.so
The snd_ctl_hw_info() function fills the info structure with data about the soundcard selected by handle.
Zero on success, or a negative value if an error occurs.
See the example in Opening the mixer in the Controlling volume and balance chapter.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |