Continuous array
The continuous array library introduces an array that you can loop over, for example if you want to create a period of a Pulse-code modulated (PCM) sine wave. You can use it to test playback with applications that support audio development kits, for example the nRF5340 Audio applications.
The library introduces the contin_array_create()
function, which takes an array that the user wants to loop over.
For more information, see API documentation.
Configuration
To enable the library, set the CONFIG_CONTIN_ARRAY
Kconfig option to y
in the project configuration file prj.conf
.
API documentation
Header file:
include/contin_array.h
Source file:
lib/contin_array/contin_array.c