|
enum | fifo_id_t { kToLong,
kToShort,
kNumFifos
} |
|
|
static constexpr unsigned int | kNumBuffers = 2 |
|
Initialize the object.
- Parameters
-
context | a template of the input contexts that will be sent with push() |
factor | the number of |
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. |
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: