mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05: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
|
|
@ -31,7 +31,7 @@ static int defaults_card(const char *env)
|
|||
e = getenv(env);
|
||||
if (!e)
|
||||
return -ENOENT;
|
||||
return snd_card_name(e);
|
||||
return snd_card_get_index(e);
|
||||
}
|
||||
|
||||
static int defaults_device(const char *env)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue