Sigrid Solveig Haflínudóttircompile stuff50243ce5 years agoHistory
40 lines · 624 B · C
RawDownload
/* * Foo * * This is a dummy module. It doesn't do much. * Feel free to use this as a boilerplate template. * */ #include <stdlib.h>#include "soundpipe.h" int sp_foo_create(sp_foo **p){    *p = malloc(sizeof(sp_foo));    return SP_OK;} int sp_foo_destroy(sp_foo **p){    free(*p);    return SP_OK;} int sp_foo_init(sp_data *sp, sp_foo *p){    USED(sp);     /* Initalize variables here. */    p->bar = 123;    return SP_OK;} int sp_foo_compute(sp_data *sp, sp_foo *p, SPFLOAT *in, SPFLOAT *out){    USED(p, sp);     /* Send the signal's input to the output */    *out = *in;    return SP_OK;}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t