mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-22 17:41:11 +00:00
IOQ3 commit 2255
This commit is contained in:
parent
8678958709
commit
6f073baf1d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue