DEADSOFTWARE

sdlmixer: even more interesting info in logs
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Thu, 7 Apr 2016 16:49:21 +0000 (19:49 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Thu, 7 Apr 2016 16:49:21 +0000 (19:49 +0300)
src/engine/e_sound_sdl.inc

index 60ffcbd4d92dbd1cd0522bcf5e59428acf3da3bf..654969e8ccd4a75335f910ab09e70e207ffb1d91 100644 (file)
@@ -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);