test/loopwave.c
changeset 2049 5f6550e5184f
parent 1895 c121d94672cb
child 2145 5c14978b1e97
--- a/test/loopwave.c	Sun Oct 01 16:10:41 2006 +0000
+++ b/test/loopwave.c	Tue Oct 17 09:15:21 2006 +0000
@@ -69,26 +69,12 @@
 {
     int i, n;
 
-    /* Print available audio drivers */
-    n = SDL_GetNumAudioDrivers();
-    if (n == 0) {
-        printf("No built-in audio drivers\n");
-    } else {
-        printf("Built-in audio drivers:");
-        for (i = 0; i < n; ++i) {
-            if (i > 0) {
-                printf(",");
-            }
-            printf(" %s", SDL_GetAudioDriver(i));
-        }
-        printf("\n");
-    }
-
     /* Load the SDL library */
     if (SDL_Init(SDL_INIT_AUDIO) < 0) {
         fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
         return (1);
     }
+
     if (argv[1] == NULL) {
         argv[1] = "sample.wav";
     }
@@ -120,7 +106,6 @@
     SDL_PauseAudio(0);
 
     /* Let the audio run */
-    printf("Using audio driver: %s\n", SDL_GetCurrentAudioDriver());
     while (!done && (SDL_GetAudioStatus() == SDL_AUDIO_PLAYING))
         SDL_Delay(1000);