|
| enum | fifo_id_t { kToLong
, kToShort
, kNumFifos
} |
|
|
static constexpr unsigned int | kNumBuffers = 2 |
◆ setup()
Initialize the object.
- Parameters
-
| context | a template of the input contexts that will be sent with push() |
| factor | the number of |
◆ push()
| void BelaContextFifo::push |
( |
fifo_id_t | fifo, |
|
|
const BelaContext * | context ) |
Send in a context.
- Parameters
-
| fifo | the fifo to write to. |
| the | context to push in. |
◆ pop()
| BelaContext * BelaContextFifo::pop |
( |
fifo_id_t | fifo, |
|
|
double | timeoutMs = 100 ) |
Receive a context.
- Parameters
-
| fifoId | the fifo to write tp |
- Returns
- the context, or NULL if no context is ready to be retrieved.
The documentation for this class was generated from the following file: