diff --git a/COPYING.Music b/COPYING.Music index d0e8c1b..04a0308 100644 --- a/COPYING.Music +++ b/COPYING.Music @@ -1,8 +1,12 @@ -LICENSE FOR 'jeu1.xm', 'jeu2.xm' and 'menu.mod' musics in Sounds directory. +LICENSE FOR 'jeu1.xm' and 'jeu2.xm' musics in Sounds directory. Copyright (c) 2006 - Maf464 - Charcosset B. - charcosset.b@free.fr site= http://maf464.free.fr +LICENSE FOR 'menu.wav' (Li-Ri main theme) musics in Sounds directory. + +Copyright (c) 2026 - ZABIDEN - Mykyta Polishyk - zabidentwfan@ukr.net + GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/Sounds/menu.mod b/Sounds/menu.mod deleted file mode 100644 index 639cc9c..0000000 Binary files a/Sounds/menu.mod and /dev/null differ diff --git a/Sounds/menu.wav b/Sounds/menu.wav new file mode 100644 index 0000000..fd3cfe3 Binary files /dev/null and b/Sounds/menu.wav differ diff --git a/src/audio.cc b/src/audio.cc index 7663d33..7127095 100644 --- a/src/audio.cc +++ b/src/audio.cc @@ -57,7 +57,7 @@ bool Audio::Init() { char PathFile[512]; - if (Mix_OpenAudio(22050, AUDIO_S16, 1, 1024)) { + if (Mix_OpenAudio(44100, AUDIO_S16, 1, 1024)) { SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Enable to init Sound card: %s", SDL_GetError()); return false; } @@ -103,7 +103,7 @@ bool Audio::Init() Utils::GetPath(PathFile); Son[sLive] = Mix_LoadWAV(PathFile); - strcpy(PathFile, "Sounds/menu.mod"); + strcpy(PathFile, "Sounds/menu.wav"); Utils::GetPath(PathFile); Music = Mix_LoadMUS(PathFile); @@ -130,7 +130,7 @@ void Audio::LoadMusic(int Num) } if (Num == 0) { // Si music du menu - strcpy(Provi, "Sounds/menu.mod"); + strcpy(Provi, "Sounds/menu.wav"); Utils::GetPath(Provi); Music = Mix_LoadMUS(Provi); }