search for: strm_buf_pagesize

Displaying 1 result from an estimated 1 matches for "strm_buf_pagesize".

2012 May 27
1
Thread Problem.
...rt 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_bytes_read = 0; while(total_bytes_read < /*STRM_BUF_PAGESIZE*/4096) { int dummy; long bytes_read = ov_read( &strm.ovf, &buf[total_bytes_read],...