search for: numtimesnodata

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

2001 Nov 22
14
Small vorbis files with vorbisfile
...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 (StartOffset<0) Error("Decode&...