5 int main(int argc
, char **argv
)
11 if (wavefile_open(&wf
, "/home/aoe/reflections.wav") != 0){
12 fprintf(stderr
, "cannot open wave file\n");
20 if (soundout_open(&so
, &af
) != 0){
21 fprintf(stderr
, "cannot open audio output device\n");
29 if (wavefile_read_at(&wf
, pos
, buf
, 4410) != 0){
33 soundout_write(&so
, buf
, 4410 * 4);