nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ ei_wrapper_add_data()

int ei_wrapper_add_data ( const float * data,
size_t data_size )

#include <include/ei_wrapper.h>

Add input data for the library.

Size of the added data must be divisible by input frame size.

Parameters
[in]dataPointer to the buffer with input data.
[in]data_sizeSize of the data (number of floating-point values).
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.