Sigrid Solveig Haflínudóttircompile stuff50243ce5 years agoHistory
35 lines · 628 B · C
RawDownload
/* this file is placed in the public domain */ #include <stdlib.h>#include <math.h>#include <stdint.h>#include "tangled/phasewarp.h"#include "soundpipe.h" int sp_phasewarp_create(sp_phasewarp **p){    *p = malloc(sizeof(sp_phasewarp));    return SP_OK;} int sp_phasewarp_destroy(sp_phasewarp **p){    free(*p);    return SP_OK;} int sp_phasewarp_init(sp_data *sp, sp_phasewarp *p){    USED(sp, p);     return SP_OK;} int sp_phasewarp_compute(sp_data *sp, sp_phasewarp *p,                         SPFLOAT *in, SPFLOAT *out){    USED(sp);     *out = sk_phasewarp_tick(*in, p->amount);    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