/packages/multimedia/SDL/patches/SDL-1.2.14-audiodriver.patch

http://github.com/OpenELEC/OpenELEC.tv · Patch · 21 lines · 20 code · 1 blank · 0 comment · 0 complexity · 5bc24d8f45eeaec1b86eb1f32be37873 MD5 · raw file

  1. --- SDL-1.2.14/src/audio/SDL_audio.c 2009-10-13 18:25:35.000000000 +0800
  2. +++ SDL-1.2.14-new/src/audio/SDL_audio.c 2010-01-08 15:29:35.000000000 +0800
  3. @@ -36,15 +36,15 @@
  4. /* Available audio drivers */
  5. static AudioBootStrap *bootstrap[] = {
  6. -#if SDL_AUDIO_DRIVER_BSD
  7. - &BSD_AUDIO_bootstrap,
  8. -#endif
  9. #if SDL_AUDIO_DRIVER_PULSE
  10. &PULSE_bootstrap,
  11. #endif
  12. #if SDL_AUDIO_DRIVER_ALSA
  13. &ALSA_bootstrap,
  14. #endif
  15. +#if SDL_AUDIO_DRIVER_BSD
  16. + &BSD_AUDIO_bootstrap,
  17. +#endif
  18. #if SDL_AUDIO_DRIVER_OSS
  19. &DSP_bootstrap,
  20. &DMA_bootstrap,