|
Vital
|
Holds shared state regarding sample rate, oversampling, and other flags. More...
#include <processor.h>
Public Member Functions | |
| ProcessorState () | |
| Default constructor, initializes to default sample rate and no oversampling. | |
Public Attributes | |
| int | sample_rate |
| The current sample rate (may include oversampling factor). | |
| int | oversample_amount |
| Oversampling factor. | |
| bool | control_rate |
| True if running at control rate (usually buffer_size == 1). | |
| bool | enabled |
| Whether this Processor is currently enabled or not. | |
| bool | initialized |
| Whether this Processor has been initialized. | |
Holds shared state regarding sample rate, oversampling, and other flags.
Multiple Processors may reference the same state if they share sample rate, etc.
|
inline |
Default constructor, initializes to default sample rate and no oversampling.
| bool vital::ProcessorState::control_rate |
True if running at control rate (usually buffer_size == 1).
| bool vital::ProcessorState::enabled |
Whether this Processor is currently enabled or not.
| bool vital::ProcessorState::initialized |
Whether this Processor has been initialized.
| int vital::ProcessorState::oversample_amount |
Oversampling factor.
| int vital::ProcessorState::sample_rate |
The current sample rate (may include oversampling factor).