[Vorbis-dev] Decoding non-seekable stream
ucniranjan at gmail.com
ucniranjan at gmail.com
Thu Jan 28 21:20:10 PST 2010
Thanks for responding.
In order to see if the code is working, I am presently running the program
in x86.
The encoded music data is included as a header file in the project. The
size of the encoded data is 18904 bytes.
The PCM length of the data is 55799 and I allocate 55799*4 bytes memory to
the bigbuffer to hold the decoded PCM data. Then I start the loop for
ov_read, which attempts to decode 4096 of PCM data at each loop-iteration.
Regards,
Niranjan
On Jan 29, 2010 4:58am, Conrad Parker <conrad at metadecks.org> wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20100129/944fa50a/attachment.htm
More information about the Vorbis-dev
mailing list