From 1872f4f65cd0ee63ab5bcd8dbb21f82786664203 Mon Sep 17 00:00:00 2001 From: molivier Date: Tue, 4 May 2004 08:45:14 +0000 Subject: [PATCH] Removed the printings at the end of ALSA driver initialization. Fixed the soundinfo format string for the DMA pointer git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4138 d7cf8633-e32d-0410-b094-e92efae38249 --- snd_alsa.c | 6 ------ snd_dma.c | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/snd_alsa.c b/snd_alsa.c index 98f8c798..709d8314 100644 --- a/snd_alsa.c +++ b/snd_alsa.c @@ -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; diff --git a/snd_dma.c b/snd_dma.c index c82539c6..871a6a69 100644 --- 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); } -- 2.39.2