[Vorbis-dev] Decoding non-seekable stream

Conrad Parker conrad at metadecks.org
Thu Jan 28 15:28:41 PST 2010


On 29 January 2010 00:04, Niranjan Udipi <ucniranjan at gmail.com> wrote:
> Hi All,
>
>    I am using the Tremor Decoder on an Embedded Systems Board. I have
> loaded the OV encoded data into the memory. I use callback.seek.func
> the decoding happens properly. However, if I force the
> callback.seek.func return -1, thus making the encoded stream a
> non-seekable one, the decoding does not happen. On debugging, I found
> that the ov_read function continues to return 0 bytes. Please tell me
> where I could have gone wrong.
>
>    The intention of the above experiment is that the Board does not
> have enough memory to store a whole music file. Thus the encoded data
> will be copied to the memory regularly from PCI interface.

how big are the buffers you are using?

does the same code work on x86?

Conrad.


More information about the Vorbis-dev mailing list