~pbatch/patchwerk

370ff8c131a84defa13d57a9a8891ae7d5a8eba9 — paul 11 months ago b3c0fb6
formatting

FossilOrigin-Name: 12793216fe3955fc954d875e99be0f32bd045089e145e29b2b3421e584fcfc18
1 files changed, 2 insertions(+), 2 deletions(-)

M runt/examples/simpleplugin.c
M runt/examples/simpleplugin.c => runt/examples/simpleplugin.c +2 -2
@@ 26,7 26,7 @@ static void compute(pw_node *node)
    blksize = pw_node_blksize(node);
    data = pw_node_get_data(node);
    phs = data->lphs;
    for(i = 0; i < blksize; i++) {
    for (i = 0; i < blksize; i++) {
        smp = sin(phs);
        freq = pw_cable_get(data->freq, i);
        pw_cable_set(data->out, i, smp);


@@ 102,7 102,7 @@ runt_int rplug_simpleplugin(runt_vm *vm)
    runt_cell *c;
    rc = rpw_plugin_data(vm, &p);

    if(rc != RUNT_OK) return rc;
    if (rc != RUNT_OK) return rc;

    runt_keyword_define(vm, "simpleplugin", 12, rproc_simpleplugin, &c);
    runt_cell_data(vm, c, p);