[Commits] [wesnoth/wesnoth] c4d78f: Fix Scons for SDL2_mixer 2.0.2

GitHub noreply at github.com
Wed Nov 1 08:54:20 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c4d78f8fc649f0e0eb1c6516c0555e2503a867fd
      https://github.com/wesnoth/wesnoth/commit/c4d78f8fc649f0e0eb1c6516c0555e2503a867fd
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M scons/sdl.py

  Log Message:
  -----------
  Fix Scons for SDL2_mixer 2.0.2

With the change from SDL_mixer 2.0.1 to 2.0.2, we cannot simply check if SDL_mixer can open an OGG/Vorbis file, we must first open an audio device. [This is probably a mistake, since the documentation implies simply initializing the codec should be enough.] To avoid future problems, upgrade the feature-test program to perform a full initialization and shut-down; everything except actually playing the sound.

Closes #2137


  Commit: 6163285ae0b37399b6acfcb95522a0e994f6d526
      https://github.com/wesnoth/wesnoth/commit/6163285ae0b37399b6acfcb95522a0e994f6d526
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M scons/sdl.py

  Log Message:
  -----------
  Made ogg vorbis support check use dummy SDL audio driver


Compare: https://github.com/wesnoth/wesnoth/compare/81809a9dd79f...6163285ae0b3


More information about the Commits mailing list