]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_dma.c
"soundlist" now tells you if a sound is streamed and whether it is mono or stereo
[xonotic/darkplaces.git] / snd_dma.c
index dd19c6907fa33837860eb09a144d9bdb4ab5d718..11fb8c326a991da7f51e052e97b0bcd1d0b581c4 100644 (file)
--- a/snd_dma.c
+++ b/snd_dma.c
@@ -1087,7 +1087,13 @@ void S_SoundList(void)
                {
                        size = sfx->mempool->totalsize;
                        total += size;
-                       Con_Printf("%c(%2db) %7i : %s\n", sfx->loopstart >= 0 ? 'L' : ' ', sfx->format.width * 8, size, sfx->name);
+                       Con_Printf ("%c%c(%2db, %6s) %8i : %s\n",
+                                               (sfx->loopstart >= 0) ? 'L' : ' ',
+                                               (sfx->flags & SFXFLAG_STREAMED) ? 'S' : ' ',
+                                               sfx->format.width * 8,
+                                               (sfx->format.channels == 2) ? "stereo" : "mono",
+                                               size,
+                                               sfx->name);
                }
        }
        Con_Printf("Total resident: %i\n", total);