diff options
Diffstat (limited to 'code/client/snd_dma.c')
| -rw-r--r-- | code/client/snd_dma.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/code/client/snd_dma.c b/code/client/snd_dma.c index 57ccea5..0b6b56d 100644 --- a/code/client/snd_dma.c +++ b/code/client/snd_dma.c @@ -109,7 +109,7 @@ void S_Base_SoundInfo(void) {  		Com_Printf("%5d samplebits\n", dma.samplebits);  		Com_Printf("%5d submission_chunk\n", dma.submission_chunk);  		Com_Printf("%5d speed\n", dma.speed); -		Com_Printf("0x%x dma buffer\n", dma.buffer); +		Com_Printf("%p dma buffer\n", dma.buffer);  		if ( s_backgroundStream ) {  			Com_Printf("Background file: %s\n", s_backgroundLoop );  		} else { @@ -466,7 +466,7 @@ void S_Base_StartSound(vec3_t origin, int entityNum, int entchannel, sfxHandle_t  	}  	if ( sfxHandle < 0 || sfxHandle >= s_numSfx ) { -		Com_Printf( S_COLOR_YELLOW, "S_StartSound: handle %i out of range\n", sfxHandle ); +		Com_Printf( S_COLOR_YELLOW "S_StartSound: handle %i out of range\n", sfxHandle );  		return;  	} @@ -578,7 +578,7 @@ void S_Base_StartLocalSound( sfxHandle_t sfxHandle, int channelNum ) {  	}  	if ( sfxHandle < 0 || sfxHandle >= s_numSfx ) { -		Com_Printf( S_COLOR_YELLOW, "S_StartLocalSound: handle %i out of range\n", sfxHandle ); +		Com_Printf( S_COLOR_YELLOW "S_StartLocalSound: handle %i out of range\n", sfxHandle );  		return;  	} @@ -687,7 +687,7 @@ void S_Base_AddLoopingSound( int entityNum, const vec3_t origin, const vec3_t ve  	}  	if ( sfxHandle < 0 || sfxHandle >= s_numSfx ) { -		Com_Printf( S_COLOR_YELLOW, "S_AddLoopingSound: handle %i out of range\n", sfxHandle ); +		Com_Printf( S_COLOR_YELLOW "S_AddLoopingSound: handle %i out of range\n", sfxHandle );  		return;  	} @@ -750,7 +750,7 @@ void S_Base_AddRealLoopingSound( int entityNum, const vec3_t origin, const vec3_  	}  	if ( sfxHandle < 0 || sfxHandle >= s_numSfx ) { -		Com_Printf( S_COLOR_YELLOW, "S_AddRealLoopingSound: handle %i out of range\n", sfxHandle ); +		Com_Printf( S_COLOR_YELLOW "S_AddRealLoopingSound: handle %i out of range\n", sfxHandle );  		return;  	} @@ -1115,7 +1115,7 @@ void S_Base_Update( void ) {  		ch = s_channels;  		for (i=0 ; i<MAX_CHANNELS; i++, ch++) {  			if (ch->thesfx && (ch->leftvol || ch->rightvol) ) { -				Com_Printf ("%f %f %s\n", ch->leftvol, ch->rightvol, ch->thesfx->soundName); +				Com_Printf ("%d %d %s\n", ch->leftvol, ch->rightvol, ch->thesfx->soundName);  				total++;  			}  		} | 
