plight/source/sound/sound_manager.cpp
void
    SoundManager::loadFutureBufferData(SoundData& rSoundData)
    {
        rSoundData.m_futureBufferData = std::async([&rSoundData]()
                                                   {
                                                       return rSoundData.m_soundBufferIO.readNextBuffer();
                                                   });
    }
/*
        Load the next data chunk asynchronously
    */
Load the next data chunk asynchronously
Load the next data chunk asynchronously
void
    SoundManager::loadFutureBufferData(SoundData& rSoundData)
    {
        rSoundData.m_futureBufferData = std::async([&rSoundData]()
                                                   {
                                                       return rSoundData.m_soundBufferIO.readNextBuffer();
                                                   });
    }
void SoundManager :: loadFutureBufferData ( SoundData & rSoundData ) { rSoundData . m_futureBufferData = std :: async ( [ & rSoundData ] ( ) { return rSoundData . m_soundBufferIO . readNextBuffer ( ) ; } ) ; }
Load the next data chunk asynchronously
Load the next data chunk asynchronously