From: Ketmar Dark Date: Thu, 7 Apr 2016 16:49:21 +0000 (+0300) Subject: sdlmixer: even more interesting info in logs X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=cd60f23c9e17f6f1b312d59c16ecc0f153500257;p=d2df-sdl.git sdlmixer: even more interesting info in logs --- 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);