From 4cad35e6706f562fd41e58ba4ecddda55c7bdec0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 23 Jan 2007 00:07:14 +0000 Subject: [PATCH] cleanup --- stepmania/src/tests/test_audio_readers.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stepmania/src/tests/test_audio_readers.cpp b/stepmania/src/tests/test_audio_readers.cpp index 0c70f8357a..1bff1f1fcc 100644 --- a/stepmania/src/tests/test_audio_readers.cpp +++ b/stepmania/src/tests/test_audio_readers.cpp @@ -12,15 +12,15 @@ #include #include -void ReadData( RageSoundReader *snd, +void ReadData( RageSoundReader *pReader, int iFrame, /* start */ - int16_t *buf, /* out */ - int frames ) + int16_t *pBuf, /* out */ + int iFrames ) { if( iFrame != -1 ) - snd->SetPosition( iFrame ); - int got = snd->Read( buf, frames ); - ASSERT_M( got == frames, ssprintf("%i, %i", got, frames) ); + pReader->SetPosition( iFrame ); + int got = pReader->Read( pBuf, iFrames ); + ASSERT_M( got == iFrames, ssprintf("%i, %i", got, iFrames) ); } void find( const char *haystack, int hs, const char *needle, int ns )