mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
namehint: Fix hw device evaluation (missing last device)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
9ce25165dd
commit
0244370be6
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ static int add_card(struct hint_list *list, int card)
|
||||||
ok++;
|
ok++;
|
||||||
}
|
}
|
||||||
ok = 0;
|
ok = 0;
|
||||||
for (device = 0; err >= 0 && device < max_device; device++) {
|
for (device = 0; err >= 0 && device <= max_device; device++) {
|
||||||
list->device = device;
|
list->device = device;
|
||||||
err = try_config(list, list->siface, str);
|
err = try_config(list, list->siface, str);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue