Hi All,

I have integrated AAC codec to Android Platform and I am able to play
a test file test_adts.aac.

But I am getting some issues here when I play a m4a file.
The issues I am facing are -
 -1) It's getting reset automatically (coming to the beginning) after
playing for some 30-40 seconds.
 -2) Some data part are skipped in the input as well as in the
decoded
output.

>From the logs below is my understanding -

- PV is getting 4 fragments through getNumFragments() ,filling the
input buffer with these 4 fragments and sending the buffer to the
component.

- My doubt is -

 1) Is fragment is nothing but a frame?
 2)The no. of samples given to the decoder frame by frame OR is it
the
buffer containing multi frames ?
 3) If the decoder decodes some part of the data in the input buffer
and some bytes are left undecoded and I set the nOffset value
accordingly,  does PV take care of this while sending the buffer next
time to the component?
4)  I don't see the use of updated nOffset in the
pvmf_omx_basedec_node.cpp file apart from FillBufferDoneProcessing()
function. Is it required to set the nOffset value for input and
output
buffer before EmptyBufferDone() and FillBufferDone() calls in the
component?


Please help me to get this clear.


Thanks & Regards,
Anupama


-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

To unsubscribe from this group, send email to 
android-porting+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to