Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 626568
Collapse All | Expand All

(-)dunelegacy-0.96.4.orig/src/FileClasses/music/DirectoryPlayer.cpp (-1 / +1 lines)
Lines 61-67 Link Here
61
61
62
    music = nullptr;
62
    music = nullptr;
63
63
64
    Mix_Init(MIX_INIT_FLUIDSYNTH | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG);
64
    Mix_Init(MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG);
65
}
65
}
66
66
67
DirectoryPlayer::~DirectoryPlayer() {
67
DirectoryPlayer::~DirectoryPlayer() {
(-)dunelegacy-0.96.4.orig/src/FileClasses/music/XMIPlayer.cpp (-4 lines)
Lines 31-40 Link Here
31
31
32
XMIPlayer::XMIPlayer() : MusicPlayer(settings.audio.playMusic, settings.audio.musicVolume) {
32
XMIPlayer::XMIPlayer() : MusicPlayer(settings.audio.playMusic, settings.audio.musicVolume) {
33
    music = nullptr;
33
    music = nullptr;
34
35
    if((Mix_Init(MIX_INIT_FLUIDSYNTH) & MIX_INIT_FLUIDSYNTH) == 0) {
36
        SDL_Log("XMIPlayer: Failed to init required midi support: %s", SDL_GetError());
37
    }
38
}
34
}
39
35
40
XMIPlayer::~XMIPlayer() {
36
XMIPlayer::~XMIPlayer() {

Return to bug 626568