mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 18:24:59 +00:00
ZVISION: Convert _stereo to a byte since it is used for a bitwise and
This commit is contained in:
parent
d771b615e0
commit
03c871ff30
@ -54,9 +54,12 @@ const int32 RawZorkStream::_amplitudeLookupTable[89] = {0x0007, 0x0008, 0x0009,
|
||||
|
||||
RawZorkStream::RawZorkStream(uint32 rate, bool stereo, DisposeAfterUse::Flag disposeStream, Common::SeekableReadStream *stream)
|
||||
: _rate(rate),
|
||||
_stereo(stereo),
|
||||
_stereo(0),
|
||||
_stream(stream, disposeStream),
|
||||
_endOfData(false) {
|
||||
if (stereo)
|
||||
_stereo = 1;
|
||||
|
||||
_lastSample[0].index = 0;
|
||||
_lastSample[0].sample = 0;
|
||||
_lastSample[1].index = 0;
|
||||
|
@ -73,7 +73,7 @@ private:
|
||||
Audio::Timestamp _playtime; // Calculated total play time
|
||||
Common::DisposablePtr<Common::SeekableReadStream> _stream; // Stream to read data from
|
||||
bool _endOfData; // Whether the stream end has been reached
|
||||
bool _stereo;
|
||||
byte _stereo;
|
||||
|
||||
/**
|
||||
* Holds the frequency and index from the last sample
|
||||
|
Loading…
Reference in New Issue
Block a user