[vorbis-dev] ov_read() reading too little.

Monty xiphmont at xiph.org
Wed Nov 29 12:18:14 PST 2000



> I've ditched the idea of calling the oggvorbis .dlls, and I'm compiling
> the 1.0beta3 source into my own dll.

You can only do this if your own .dll is also GPL/LGPL. 

> After opening as "rb" instead of
> "r", the ov_open() call works.  However, ov_read() seems to consistently
> read less data than I ask for.  My buffer is enough to hold two seconds
> of data, 16 bit 44k mono, that's 176400 bytes.  The first call to
> ov_read() asks for that much but only gets 52,608 bytes.  The next call
> asks for 3,652 bytes but only gets 2048.  Subsequent calls ask for more
> and more, but still only get 2k.  Is this normal?  If so, it should be
> documented.

Nope, you're doing something wrong.  Can we see the code please?

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list