<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=4>I am trying, for the first time, to decode and play
an ogg file with two buffers. My audio is choppy and I can't see a problem
on the wavOutxxx end of things. So I am wondering about how I call
ov_read. From my TRACE statements, the read seems to work perfectly,
eventually returning zero. Is it a simple matter of making the same call
to ov_read, aside from changing the buffer and datalength? This is what I
am doing everytime I fill one of the buffers:</FONT></DIV>
<DIV><FONT face=Arial size=4></FONT> </DIV>
<DIV><FONT face=Arial size=4> long bytes_read =
ov_read(&m_OggVorbisFile, m_WaveBuffers[m_nCurrentIndex],
m_dwBufferLength,0,2,1,&current_section);<BR></FONT></DIV></BODY></HTML>