mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 17:29:11 +00:00
Add some TODO item.
svn-id: r47721
This commit is contained in:
parent
3125dfe66e
commit
5539f0d358
@ -155,6 +155,9 @@ int RawAudioStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16 *buffer,
|
||||
if (_bufferLeft == 0 && _diskLeft > 0) {
|
||||
int32 readAmount = MIN(_diskLeft, BUFFER_SIZE);
|
||||
|
||||
// TODO: We should check for both seek and read to success.
|
||||
// If that is not the case, we should probably stop the
|
||||
// stream playback.
|
||||
_stream->seek(_filePos, SEEK_SET);
|
||||
_stream->read(_buffer, readAmount * (is16Bit? 2: 1));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user