[vorbis-dev] Couple more problems (ov_open_callbacks)

Michael Smith msmith at labyrinth.net.au
Wed Sep 26 03:15:37 PDT 2001



>So that leads to a problem with how I'm using ov_read().  I've modeled
>my code around the sample code, and I check my error returns fairly
>religiously.  The only weird thing I'm doing is using
>ov_open_callbacks().  My callback routines simply read data out of an
>in-memory bit bucket, so there's not much code there, e.g. my read
>function is basically:

Getting just static out is most often a result of getting your endianness
switched - make sure you have that parameter (to ov_read()) correct. Check
docs for what it should be. 

There's nothing obvious apart from this, assuming you aren't doing anything
too obviously wrong in the callbacks. Do note that the examples are NOT
comprehensive in checking return values, so merely following how they work
isn't a guarantee.

Michael

--- >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