mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 19:53:30 +02:00
push data pointer for recursive read from front
This commit is contained in:
parent
164c06a190
commit
41290dd3e3
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ qint64 AudioInjectorLocalBuffer::recursiveReadFromFront(char* data, qint64 maxSi
|
|||
|
||||
// check if we need to call ourselves again and pull from the front again
|
||||
if (bytesRead < maxSize) {
|
||||
return bytesRead + recursiveReadFromFront(data, maxSize - bytesRead);
|
||||
return bytesRead + recursiveReadFromFront(data + bytesRead, maxSize - bytesRead);
|
||||
} else {
|
||||
_currentOffset = bytesRead;
|
||||
return bytesRead;
|
||||
|
|
Loading…
Reference in a new issue