Mercurial > sdl-ios-xcode
diff src/cdrom/macosx/AudioFileReaderThread.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | c121d94672cb |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/cdrom/macosx/AudioFileReaderThread.c Thu Aug 21 12:38:21 2008 +0000 +++ b/src/cdrom/macosx/AudioFileReaderThread.c Wed Aug 27 04:23:38 2008 +0000 @@ -335,9 +335,8 @@ } /* construct pointer */ char *writePtr = (char *) (theItem->GetFileBuffer(theItem) + - (theItem-> - mWriteToFirstBuffer ? 0 : theItem-> - mChunkSize)); + (theItem->mWriteToFirstBuffer ? 0 : + theItem->mChunkSize)); /* read data */ result = theItem->Read(theItem, writePtr, &dataChunkSize); @@ -486,8 +485,7 @@ } else { *inOutDataSize = afm->mChunkSize; *inOutData = - afm->mReadFromFirstBuffer ? afm->mFileBuffer : (afm-> - mFileBuffer + + afm->mReadFromFirstBuffer ? afm->mFileBuffer : (afm->mFileBuffer + afm->mChunkSize); }