Call sound files 'audio' not 'wav' in debug messages.

This commit is contained in:
Zack Middleton 2012-06-18 16:00:38 +00:00
parent a17dafc5e7
commit 2131536d07
1 changed files with 2 additions and 2 deletions

View File

@ -219,11 +219,11 @@ qboolean S_LoadSound( sfx_t *sfx )
return qfalse; return qfalse;
if ( info.width == 1 ) { if ( info.width == 1 ) {
Com_DPrintf(S_COLOR_YELLOW "WARNING: %s is a 8 bit wav file\n", sfx->soundName); Com_DPrintf(S_COLOR_YELLOW "WARNING: %s is a 8 bit audio file\n", sfx->soundName);
} }
if ( info.rate != 22050 ) { if ( info.rate != 22050 ) {
Com_DPrintf(S_COLOR_YELLOW "WARNING: %s is not a 22kHz wav file\n", sfx->soundName); Com_DPrintf(S_COLOR_YELLOW "WARNING: %s is not a 22kHz audio file\n", sfx->soundName);
} }
samples = Hunk_AllocateTempMemory(info.samples * sizeof(short) * 2); samples = Hunk_AllocateTempMemory(info.samples * sizeof(short) * 2);