interface_policy
which uses plain pointers.
More...
#include <apf/pointer_policy.h>
template<typename T>
class apf::pointer_policy< T * >
interface_policy
which uses plain pointers.
- See also
- MimoProcessor
Definition at line 53 of file pointer_policy.h.
◆ sample_type
template<typename T >
using apf::pointer_policy< T * >::sample_type = T |
◆ pointer_policy()
◆ audio_callback()
template<typename T >
void apf::pointer_policy< T * >::audio_callback |
( |
size_t |
n, |
|
|
T *const * |
in, |
|
|
T *const * |
out |
|
) |
| |
This has to be called for each audio block.
- Attention
- You must make sure that there is enough memory available for input and output data. Inputs and outputs can be added, but
in
and out
must be enlarged accordingly.
- Warning
in
and out
can only grow bigger, if inputs/outputs are removed, the corresponding pointer of in/out
must
remain at its place!
- Parameters
-
n | block size |
in | pointer to an array of pointers to input channels |
out | pointer to an array of pointers to output channels |
Definition at line 117 of file pointer_policy.h.
◆ activate()
template<typename T >
bool apf::pointer_policy< T * >::activate |
( |
| ) |
const |
|
inline |
◆ deactivate()
template<typename T >
bool apf::pointer_policy< T * >::deactivate |
( |
| ) |
const |
|
inline |
◆ block_size()
template<typename T >
size_t apf::pointer_policy< T * >::block_size |
( |
| ) |
const |
|
inline |
◆ sample_rate()
template<typename T >
size_t apf::pointer_policy< T * >::sample_rate |
( |
| ) |
const |
|
inline |
◆ in_channels()
template<typename T >
int apf::pointer_policy< T * >::in_channels |
( |
| ) |
const |
|
inline |
◆ out_channels()
template<typename T >
int apf::pointer_policy< T * >::out_channels |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: