Displaying 1 result from an estimated 1 matches for "readstrmdata".
2012 May 27
1
Thread Problem.
...I hope to be the only relevant code for
the music and see if anyone has any suggestions on what I can do to fix
this problem.
-Note: I can't exactly send all the music code, but if you need to see more
let me know.
To start it off the main function for the music thread looks like this:
void ReadStrmData()
{
// Switch buffer page
char *buf;
if(strm.bufPage == 0)
{
buf = strm_buf;
strm.bufPage = 1;
}
else
{
buf = strm_buf + /*STRM_BUF_PAGESIZE*/4096;
strm.bufPage = 0;
}
long total...