Fixed SoundStream::GetPlayingOffset looping after a few seconds
This commit is contained in:
parent
d5ced60dec
commit
7f11d16f3b
2 changed files with 3 additions and 3 deletions
|
@ -286,7 +286,7 @@ private :
|
|||
unsigned int mySampleRate; ///< Frequency (samples / second)
|
||||
unsigned long myFormat; ///< Format of the internal sound buffers
|
||||
bool myLoop; ///< Loop flag (true to loop, false to play once)
|
||||
unsigned int mySamplesProcessed; ///< Number of buffers processed since beginning of the stream
|
||||
Uint64 mySamplesProcessed; ///< Number of buffers processed since beginning of the stream
|
||||
bool myEndBuffers[BuffersCount]; ///< Each buffer is marked as "end buffer" or not, for proper duration calculation
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue