From cd60f23c9e17f6f1b312d59c16ecc0f153500257 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Thu, 7 Apr 2016 19:49:21 +0300 Subject: [PATCH] sdlmixer: even more interesting info in logs --- src/engine/e_sound_sdl.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/e_sound_sdl.inc b/src/engine/e_sound_sdl.inc index 60ffcbd..654969e 100644 --- a/src/engine/e_sound_sdl.inc +++ b/src/engine/e_sound_sdl.inc @@ -188,6 +188,11 @@ begin e_WriteLog(Format('SDL: frequency=%d; format=%u; channels=%d', [rfreq, rformat, rchans]), MSG_NOTIFY); end; + for i := 0 to Mix_GetNumChunkDecoders()-1 do + begin + e_WriteLog(Format('SDL: chunk decoder %s is avalable', [Mix_GetChunkDecoder(i)]), MSG_NOTIFY); + end; + Mix_AllocateChannels(N_CHANNELS); Mix_ChannelFinished(chanFinished); -- 2.29.2