From c6bb8ff372b2fa4d5e1ab0a980b7102372bff978 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 8 Nov 2007 09:07:58 +0000 Subject: [PATCH] unused --- stepmania/src/RageSoundUtil.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stepmania/src/RageSoundUtil.cpp b/stepmania/src/RageSoundUtil.cpp index 55d3d9a031..0164c4a053 100644 --- a/stepmania/src/RageSoundUtil.cpp +++ b/stepmania/src/RageSoundUtil.cpp @@ -2,9 +2,6 @@ #include "RageSoundUtil.h" #include "RageUtil.h" -/* Some of these functions assume a channel count: */ -static const int channels = 2; - void RageSoundUtil::Attenuate( float *pBuf, int iSamples, float fVolume ) { while( iSamples-- ) @@ -37,7 +34,6 @@ void RageSoundUtil::Pan( float *buffer, int frames, float fPos ) swap( fLeftFactors[1], fRightFactors[1] ); } - ASSERT_M( channels == 2, ssprintf("%i", channels) ); for( int samp = 0; samp < frames; ++samp ) { float l = buffer[0]*fLeftFactors[0] + buffer[1]*fLeftFactors[1];