From 78b019fe0cc6624673f3b0db570c1ad0f0ca31b5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 26 Aug 2004 20:01:43 +0000 Subject: [PATCH] fix mono->stereo conversion --- stepmania/src/RageSound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index 235a2827eb..66a972a0cf 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -323,8 +323,8 @@ int RageSound::FillBuf( int frames ) { /* Dupe mono to stereo in-place; do it in reverse, to handle overlap. */ int num_samples = cnt / sizeof(int16_t); - float *input = (float *) inbuf; - float *output = input; + int16_t *input = (int16_t *) inbuf; + int16_t *output = input; input += num_samples; output += num_samples*2; while( num_samples-- )