Problems with OSS

Simon Burton simonb at
Sat Mar 30 18:35:35 EST 2002

um, im getting memory errors.. and some other things.
ive had a fiddle with the code aswell.
i suggest you try writing a sin wave to the device
without any threads or mallocs or wav file parsing.
(that is what i did for my first oss prog)


write_sin(int fd)
   short sample[512];
   int i;
     sample[i]=sin(...) << 14;

/* simon
  ps. feel free to send more code */

More information about the linux mailing list