src/audio/SDL_audiodev.c
changeset 10603 d2c8ae6ceac8
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
equal deleted inserted replaced
10602:20855a38e048 10603:d2c8ae6ceac8
   101     }
   101     }
   102     test_device(iscapture, audiodev, flags, test);
   102     test_device(iscapture, audiodev, flags, test);
   103 
   103 
   104     if (SDL_strlen(audiodev) < (sizeof(audiopath) - 3)) {
   104     if (SDL_strlen(audiodev) < (sizeof(audiopath) - 3)) {
   105         int instance = 0;
   105         int instance = 0;
   106         while (instance++ <= 64) {
   106         while (instance <= 64) {
   107             SDL_snprintf(audiopath, SDL_arraysize(audiopath),
   107             SDL_snprintf(audiopath, SDL_arraysize(audiopath),
   108                          "%s%d", audiodev, instance);
   108                          "%s%d", audiodev, instance);
       
   109             instance++;
   109             test_device(iscapture, audiopath, flags, test);
   110             test_device(iscapture, audiopath, flags, test);
   110         }
   111         }
   111     }
   112     }
   112 }
   113 }
   113 
   114