Nu:Tekt NTS-1 digital SDK  v1.1-0
Classes | Macros | Enumerations
userdelfx.h File Reference

C interface header for user delay fx. More...

#include <stdint.h>
#include "fx_api.h"
#include "userprg.h"

Go to the source code of this file.

Macros

#define __sdram   __attribute__((section(".sdram")))
 This macro can be used to declare a memory buffer in SDRAM space. More...
 

Enumerations

enum  user_delfx_param_id_t {
  k_user_delfx_param_time = 0, k_user_delfx_param_depth, k_user_delfx_param_reserved0, k_user_delfx_param_shift_depth,
  k_num_user_delfx_param_id
}
 User facing parameters. More...
 

Core API

#define DELFX_INIT   __attribute__((used)) _hook_init
 
#define DELFX_PROCESS   __attribute__((used)) _hook_process
 
#define DELFX_SUSPEND   __attribute__((used)) _hook_suspend
 
#define DELFX_RESUME   __attribute__((used)) _hook_resume
 
#define DELFX_PARAM   __attribute__((used)) _hook_param
 
void _hook_init (uint32_t platform, uint32_t api)
 Initialization callback. More...
 
void _hook_process (float *xn, uint32_t frames)
 Processing callback. More...
 
void _hook_suspend (void)
 Suspend callback. More...
 
void _hook_resume (void)
 Resume callback. More...
 
void _hook_param (uint8_t index, int32_t value)
 Parameter change callback. More...
 

Detailed Description

C interface header for user delay fx.

Definition in file userdelfx.h.