Displaying 1 result from an estimated 1 matches for "_pdata".
Did you mean:
pdata
2001 Nov 22
14
Small vorbis files with vorbisfile
...Vorbis packets: 1 (4 kb)
Samples: 28672
Samplerate: 22 kHz
Channels: 2
This is what I''m doing when I want to get a number of bytes from the stream:
The problem is that ov_pcm_tell always returns 0. And so does ov_read (its
only one packet so EOF)
virtual bool GetData(void *&_pData, int &_nBytes)
{
int NumTimesNoData = 0;
while(_nBytes)
{
long ret;
int StartOffset =
ov_pcm_tell(&m_pDecoder->VorbisFile);
if (Start...