Browse Source

Merge pull request #510 from mackron/patch-2

Fix an infinite loop in ALSA backend of mini_al.
Ray 7 years ago
parent
commit
22c8ea76aa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/external/mini_al.h

+ 1 - 0
src/external/mini_al.h

@@ -6412,6 +6412,7 @@ static mal_result mal_device_init__alsa(mal_context* pContext, mal_device_type t
                         free(NAME);
                         free(NAME);
                         free(DESC);
                         free(DESC);
                         free(IOID);
                         free(IOID);
+                        ppNextDeviceHint += 1;
 
 
                         if (foundDevice) {
                         if (foundDevice) {
                             break;
                             break;