From d49082065a1cbcecffb9069e449ce5c8686ea23d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 3 Jan 2004 20:42:18 +0000 Subject: TODO svn-id: r12117 --- sword1/music.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sword1') diff --git a/sword1/music.cpp b/sword1/music.cpp index 7bf913f02a..8b94b9ab69 100644 --- a/sword1/music.cpp +++ b/sword1/music.cpp @@ -52,6 +52,8 @@ bool SwordMusicHandle::endOfData() const { } int SwordMusicHandle::readBuffer(int16 *buffer, const int numSamples) { + // TODO: merge the read() code into readBuffer(), for higher efficency; + // we then can remove read() (as it isn't needed for anything anymore). int samples; for (samples = 0; samples < numSamples && !endOfData(); samples++) *buffer++ = read(); -- cgit v1.2.3