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

GitHub noreply at github.com
Tue Oct 31 14:07:26 UTC 2017


  Branch: refs/heads/GL_SDL_py
  Home:   https://github.com/wesnoth/wesnoth
  Commit: bfb76de119e1c9973df0aafdba7d56512d4634d2
      https://github.com/wesnoth/wesnoth/commit/bfb76de119e1c9973df0aafdba7d56512d4634d2
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-10-31 (Tue, 31 Oct 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





More information about the Commits mailing list