Always start streaming sources from the start of the queue
For sources that don't start with an offset, at least. This is necessary so the completed buffer event will give the correct count if it starts with null or empty buffers that become processed.
This commit is contained in:
+1
-1
@@ -2774,7 +2774,7 @@ START_API_FUNC
|
||||
voice->mLoopBuffer.store(source->queue, std::memory_order_relaxed);
|
||||
else
|
||||
voice->mLoopBuffer.store(nullptr, std::memory_order_relaxed);
|
||||
voice->mCurrentBuffer.store(BufferList, std::memory_order_relaxed);
|
||||
voice->mCurrentBuffer.store(source->queue, std::memory_order_relaxed);
|
||||
voice->mPosition.store(0u, std::memory_order_relaxed);
|
||||
voice->mPositionFrac.store(0, std::memory_order_relaxed);
|
||||
bool start_fading{false};
|
||||
|
||||
Reference in New Issue
Block a user