1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-07-08 13:54:52 +02:00

Rename thread in SoundBufferStreamed

This commit is contained in:
Filip Gawin 2019-05-18 23:00:54 +02:00
parent 9b07e0492f
commit cc14614e7e
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ void SoundBufferStreamed::play() {
std::this_thread::sleep_for(kTickFreqMs);
// Not we should be able start thread
loadingThread = std::async(std::launch::async,
bufferingThread = std::async(std::launch::async,
&SoundBufferStreamed::updateBuffers, this);
}

View File

@ -25,7 +25,7 @@ private:
void updateBuffers();
unsigned int streamedData = 0;
std::array<ALuint, kNrBuffersStreaming> buffers;
std::future<void> loadingThread;
std::future<void> bufferingThread;
};
#endif