Paul Batchelorimporta901d566 years agoHistory
25 lines · 506 B · C
RawDownload
#include "soundpipe.h"#include "md5.h"#include "tap.h"#include "test.h" int t_foo(sp_test *tst, sp_data *sp, const char *hash){    uint32_t n;    int fail = 0;     /* allocate / initialize modules here */     for(n = 0; n < tst->size; n++) {        /* compute samples and add to test buffer */        sp_test_add_sample(tst, 0);    }     fail = sp_test_verify(tst, hash);     /* destroy functions here */     if(fail) return SP_NOT_OK;    /* fail by default */    else return SP_NOT_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