src/audio/SDL_audio.c
changeset 8658 7939f33e81ac
parent 8149 681eb46b8ac4
child 8660 6bd1f8bad873
     1.1 --- a/src/audio/SDL_audio.c	Thu Mar 20 16:56:37 2014 -0400
     1.2 +++ b/src/audio/SDL_audio.c	Thu Mar 20 17:00:33 2014 -0400
     1.3 @@ -367,6 +367,7 @@
     1.4      delay = ((device->spec.samples * 1000) / device->spec.freq);
     1.5  
     1.6      /* Determine if the streamer is necessary here */
     1.7 +#if 0  /* !!! FIXME: rewrite/remove this streamer code. */
     1.8      if (device->use_streamer == 1) {
     1.9          /* This code is almost the same as the old code. The difference is, instead of reading
    1.10             directly from the callback into "stream", then converting and sending the audio off,
    1.11 @@ -456,6 +457,7 @@
    1.12  
    1.13          }
    1.14      } else {
    1.15 +#endif
    1.16          /* Otherwise, do not use the streamer. This is the old code. */
    1.17          const int silence = (int) device->spec.silence;
    1.18  
    1.19 @@ -504,14 +506,18 @@
    1.20                  SDL_Delay(delay);
    1.21              }
    1.22          }
    1.23 +#if 0  /* !!! FIXME: rewrite/remove this streamer code. */
    1.24      }
    1.25 +#endif
    1.26  
    1.27      /* Wait for the audio to drain.. */
    1.28      current_audio.impl.WaitDone(device);
    1.29  
    1.30      /* If necessary, deinit the streamer */
    1.31 +#if 0  /* !!! FIXME: rewrite/remove this streamer code. */
    1.32      if (device->use_streamer == 1)
    1.33          SDL_StreamDeinit(&device->streamer);
    1.34 +#endif
    1.35  
    1.36      return (0);
    1.37  }