Loading...
Searching...
No Matches
oscr::processor_write_back Struct Reference
Detailed Description
A value a processor wrote to one of its own controls, while the UI thread sets it on the inlet. It goes back to the processor like a value from the UI, so that the processor's input holds what the UI shows, but only when it is still the last one the processor wrote: an older one arriving after the processor went on to another would undo it.
Public Member Functions | |
| bool | stale () const noexcept |
| Audio thread. | |
Public Attributes | |
| const void * | field {} |
| The control, only compared with. | |
| uint64_t | number {} |
| const std::atomic< uint64_t > * | written {} |
Member Data Documentation
◆ number
| uint64_t oscr::processor_write_back::number {} |
Which write it is, and how many the processor has made so far: the counter is written and read on the audio thread only, and lives as long as the processor.
The documentation for this struct was generated from the following file: