Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
render.cpp File Reference
#include <Bela.h>
#include <cmath>
#include <iostream>
#include "config.h"
#include "conndetect.h"
Include dependency graph for render.cpp:

Go to the source code of this file.

Macros

#define NCHANNELS_INPUT_ANALOG   4
 
#define NCHANNELS_INPUT_AUDIO   2
 

Functions

bool setup (BelaContext *context, void *ConnDetect_ptr)
 
void render (BelaContext *context, void *ConnDetect_opaque)
 
void cleanup (BelaContext *context, void *ConnDetect_ptr)
 

Macro Definition Documentation

◆ NCHANNELS_INPUT_ANALOG

#define NCHANNELS_INPUT_ANALOG   4

Definition at line 15 of file render.cpp.

◆ NCHANNELS_INPUT_AUDIO

#define NCHANNELS_INPUT_AUDIO   2

Definition at line 16 of file render.cpp.

Function Documentation

◆ cleanup()

void cleanup ( BelaContext *  context,
void *  ConnDetect_ptr 
)

Definition at line 78 of file render.cpp.

◆ render()

void render ( BelaContext *  context,
void *  ConnDetect_opaque 
)

Definition at line 51 of file render.cpp.

◆ setup()

bool setup ( BelaContext *  context,
void *  ConnDetect_ptr 
)

Definition at line 18 of file render.cpp.