![]() |
![]() |
![]() |
![]() |
Count the sound cards
#include <sys/asoundlib.h> int snd_cards ( void );
libasound.so
The snd_cards() function returns the instantaneous number of sound cards that have running drivers. There's no guarantee that the sound cards have contiguous card numbers, and cards may be unmounted at any time.
![]() |
This function is mainly provided for historical reasons. You should use snd_cards_list() instead. |
The number of sound cards.
QNX 6
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |
![]() |