From 76704e9dafd2e948b3f712b518ab3b01a42a7e29 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 16 Jun 2002 04:22:51 +0000 Subject: [PATCH] the other part of the rename --- libs/audio/renderer/snd_mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/audio/renderer/snd_mem.c b/libs/audio/renderer/snd_mem.c index 6c40fba41..f39520d77 100644 --- a/libs/audio/renderer/snd_mem.c +++ b/libs/audio/renderer/snd_mem.c @@ -68,7 +68,7 @@ SND_GetCache (long samples, int rate, int inwidth, int channels, sc->speed = rate; sc->width = inwidth; sc->stereo = channels; - sc->size = size; + sc->bytes = size; memcpy (sc->data + size, "\xde\xad\xbe\xef", 4); return sc; } @@ -174,7 +174,7 @@ SND_ResampleSfx (sfxcache_t *sc, byte * data) sc->length = outcount; if (sc->loopstart != -1) sc->loopstart = sc->loopstart / stepscale; - if (memcmp (sc->data + sc->size, "\xde\xad\xbe\xef", 4)) + if (memcmp (sc->data + sc->bytes, "\xde\xad\xbe\xef", 4)) Sys_Error ("SND_ResampleSfx screwed the pooch"); }