49 |
pbs.reverse = PlaybackState.reverse; |
pbs.reverse = PlaybackState.reverse; |
50 |
pbs.loop_cycles_left = PlaybackState.loop_cycles_left; |
pbs.loop_cycles_left = PlaybackState.loop_cycles_left; |
51 |
|
|
52 |
total_readsamples = pSample->ReadAndLoop(pBuf, SamplesToRead, &pbs); |
total_readsamples = pSample->ReadAndLoop(pBuf, SamplesToRead, &pbs, pRegion); |
53 |
|
PlaybackState.position = pbs.position; |
54 |
|
PlaybackState.reverse = pbs.reverse; |
55 |
|
PlaybackState.loop_cycles_left = pbs.loop_cycles_left; |
56 |
endofsamplereached = (this->PlaybackState.position >= pSample->GetTotalFrameCount()); |
endofsamplereached = (this->PlaybackState.position >= pSample->GetTotalFrameCount()); |
57 |
dmsg(5,("Refilled stream %d with %d (SamplePos: %d)", this->hThis, total_readsamples, this->PlaybackState.position)); |
dmsg(5,("Refilled stream %d with %d (SamplePos: %d)", this->hThis, total_readsamples, this->PlaybackState.position)); |
58 |
} |
} |