test/testmultiaudio.c
branchSDL-ryan-multiple-audio-device
changeset 3800 2d77a732bd20
parent 3794 db24e43972ac
equal deleted inserted replaced
3799:f424927138ff 3800:2d77a732bd20
   114 
   114 
   115     printf("Using audio driver: %s\n", SDL_GetCurrentAudioDriver());
   115     printf("Using audio driver: %s\n", SDL_GetCurrentAudioDriver());
   116 
   116 
   117     devcount = SDL_GetNumAudioDevices(0);
   117     devcount = SDL_GetNumAudioDevices(0);
   118     if (devcount < 1) {
   118     if (devcount < 1) {
   119         fprintf(stderr, "Don't see more than one device!\n");
   119         fprintf(stderr, "Don't see any specific audio devices!\n");
   120     } else {
   120     } else {
   121         if (argv[1] == NULL) {
   121         if (argv[1] == NULL) {
   122             argv[1] = "sample.wav";
   122             argv[1] = "sample.wav";
   123         }
   123         }
   124 
   124