]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Removed the printings at the end of ALSA driver initialization. Fixed the soundinfo...
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 4 May 2004 08:45:14 +0000 (08:45 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 4 May 2004 08:45:14 +0000 (08:45 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4138 d7cf8633-e32d-0410-b094-e92efae38249

snd_alsa.c
snd_dma.c

index 98f8c79898022c7aa985f08f7dc081545a608076..709d8314543705a4cfa6e3bec63c964de4fb2d46 100644 (file)
@@ -254,12 +254,6 @@ qboolean SNDDMA_Init (void)
        shm->samples = buffer_size * shm->format.channels;              // mono samples in buffer
        shm->format.speed = rate;
        SNDDMA_GetDMAPos ();            // sets shm->buffer
-       Sys_Printf ("%5d stereo\n", shm->format.channels - 1);
-       Sys_Printf ("%5d samples\n", shm->samples);
-       Sys_Printf ("%5d samplepos\n", shm->samplepos);
-       Sys_Printf ("%5d samplebits\n", shm->format.width * 8);
-       Sys_Printf ("%5d speed\n", shm->format.speed);
-       Sys_Printf ("0x%x dma buffer\n", (int) shm->buffer);
 
        snd_inited = 1;
        return true;
index c82539c647c43e1110be73422bed94ce98adc2cd..871a6a69b849d93f5758bd6c210bec3ac27f950e 100644 (file)
--- a/snd_dma.c
+++ b/snd_dma.c
@@ -132,7 +132,7 @@ void S_SoundInfo_f(void)
        Con_Printf("%5d samplepos\n", shm->samplepos);
        Con_Printf("%5d samplebits\n", shm->format.width * 8);
        Con_Printf("%5d speed\n", shm->format.speed);
-       Con_Printf("0x%x dma buffer\n", shm->buffer);
+       Con_Printf("%p dma buffer\n", shm->buffer);
        Con_Printf("%5u total_channels\n", total_channels);
 }