mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Completed conf. Better name for snd_card_get_index. Cleaned card access
This commit is contained in:
parent
845d917797
commit
b5576ef229
10 changed files with 144 additions and 89 deletions
|
|
@ -32,7 +32,7 @@ int main(void)
|
|||
{
|
||||
int idx, idx1, cards, err;
|
||||
snd_ctl_t *handle;
|
||||
struct snd_ctl_hw_info info;
|
||||
snd_ctl_hw_info_t info;
|
||||
|
||||
cards = snd_cards();
|
||||
printf("Detected %i soundcard%s...\n", cards, cards > 1 ? "s" : "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue