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 98f8c79..709d831 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 c82539c..871a6a6 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);
 }