domewolf/maidemo — Issue #2: Integrate SDL_mixer into project
Author: jesseniemisto
Created: 2011-10-21 16:40:27+00:00
State: open

Basically this means the same steps that were done when SDL_image got integrated.

On linux let the package manager do its work (emerge sdl-mixer).

Windose is a bit trickier. create cmake variable SDLMIXER_INCLUDE_DIR and SDLMIXER_LIBRARY by hand and set them point to correct paths. precompiled windows libraries (no devel) -> http://www.libsdl.org/projects/SDL_mixer/

Edit the CMakeLists.txt:
- find_package(SDL_mixer) [only linux]
- add mixer to include path
- link against sdlmixer_library

the actual audio player can be made by anyone. Sources into src/audio/