Vuo  2.0.0
Macros | Functions | Variables
VuoScribbleStrip.c File Reference

Description

VuoScribbleStrip implementation.

Definition in file VuoScribbleStrip.c.

Go to the source code of this file.

Macros

#define VuoScribbleStrip_channels   8
 Number of channel strips. More...
 
#define VuoScribbleStrip_sections   VuoScribbleStrip_Faders + 1
 Number of sections in each channel strip. More...
 
#define VuoScribbleStrip_maxTextLength   25
 Number of ASCII-7 characters allowed for each section, including null terminator. More...
 

Functions

static void __attribute__ ((constructor))
 Allocates memory for the scribble strip. More...
 
void VuoScribbleStrip_set (VuoScribbleStripSection section, VuoInteger channel, VuoText text)
 Copies text into the process-wide scribble-strip buffer. More...
 
VuoText VuoScribbleStrip_get (VuoScribbleStripSection section, VuoInteger channel)
 Retrieves text from the process-wide scribble-strip buffer. More...
 

Variables

static char VuoScribbleStrip_text [VuoScribbleStrip_channels][VuoScribbleStrip_sections][VuoScribbleStrip_maxTextLength]
 Process-wide scribble-strip buffer. More...
 

Macro Definition Documentation

◆ VuoScribbleStrip_channels

#define VuoScribbleStrip_channels   8

Number of channel strips.

Definition at line 22 of file VuoScribbleStrip.c.

◆ VuoScribbleStrip_maxTextLength

#define VuoScribbleStrip_maxTextLength   25

Number of ASCII-7 characters allowed for each section, including null terminator.

Definition at line 24 of file VuoScribbleStrip.c.

◆ VuoScribbleStrip_sections

#define VuoScribbleStrip_sections   VuoScribbleStrip_Faders + 1

Number of sections in each channel strip.

Definition at line 23 of file VuoScribbleStrip.c.

Function Documentation

◆ __attribute__()

static void __attribute__ ( (constructor)  )
static

Allocates memory for the scribble strip.

Definition at line 31 of file VuoScribbleStrip.c.

◆ VuoScribbleStrip_get()

VuoText VuoScribbleStrip_get ( VuoScribbleStripSection  section,
VuoInteger  channel 
)

Retrieves text from the process-wide scribble-strip buffer.

Definition at line 55 of file VuoScribbleStrip.c.

◆ VuoScribbleStrip_set()

void VuoScribbleStrip_set ( VuoScribbleStripSection  section,
VuoInteger  channel,
VuoText  text 
)

Copies text into the process-wide scribble-strip buffer.

Definition at line 39 of file VuoScribbleStrip.c.

Variable Documentation

◆ VuoScribbleStrip_text

Process-wide scribble-strip buffer.

Definition at line 26 of file VuoScribbleStrip.c.