[Commits] [wesnoth/wesnoth] 3f9cf1: Fix Scons for SDL2_mixer 2.0.2

GitHub noreply at github.com
Tue Oct 31 14:20:35 UTC 2017


  Branch: refs/heads/GL_SDL_py
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3f9cf1f6fbc2aca6eda73f2b447a3f81cec1104f
      https://github.com/wesnoth/wesnoth/commit/3f9cf1f6fbc2aca6eda73f2b447a3f81cec1104f
  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