Loading...
Searching...
No Matches
oscr::SoundSetSnapshot Struct Reference

The set as the processor sees it between two changes. More...

Detailed Description

The set as the processor sees it between two changes.

Public Member Functions

void make_views ()
 
halp::sound_set_view view () const noexcept
 

Public Attributes

std::vector< std::shared_ptr< SoundSetEntry > > entries
 
std::vector< halp::sound_view > views
 
std::string folder
 
uint64_t generation {}
 
std::atomic< bool > superseded {false}
 

Member Data Documentation

◆ superseded

std::atomic<bool> oscr::SoundSetSnapshot::superseded {false}

Set by the audio thread once a newer snapshot replaced this one: from then on, only its pinned sounds can still be read.


The documentation for this struct was generated from the following files: