mirror of
https://github.com/rwengine/openrw.git
synced 2024-10-06 09:07:19 +02:00
Rename thread in SoundBufferStreamed
This commit is contained in:
parent
9b07e0492f
commit
cc14614e7e
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user