1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-25 21:38:59 +02:00

use Mix_Music from SDL_Mixer directly

This commit is contained in:
Andrey Filipenkov 2025-02-10 15:01:51 +03:00 committed by GitHub
parent a272ae8208
commit 586cb65adc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View File

@ -22,8 +22,6 @@
#include "../../lib/TerrainHandler.h"
#include "../../lib/filesystem/Filesystem.h"
#include <SDL_mixer.h>
void CMusicHandler::onVolumeChange(const JsonNode & volumeNode)
{
setVolume(volumeNode.Integer());

View File

@ -14,8 +14,7 @@
#include "../lib/CConfigHandler.h"
struct _Mix_Music;
using Mix_Music = struct _Mix_Music;
#include <SDL_mixer.h>
class CMusicHandler;