Hi,

i have a small idea , Why cant the decoder instance be created with some
default values like bitrate=128 , samplingrate=44100 etc. then after getting
the first frame from the parser , we can reset the decoder.

This situation of resetting the decoder is anyway needed because your
decoder should support VBR encoded file also ( i guess ).

Please add your comments/suggestions..

regards,
bas.

On Sat, Mar 21, 2009 at 9:51 AM, MMF <[email protected]> wrote:

> Hi Ravi,
>
> Thanks for the reply.
> In my case parser has to send this information as I need this information
> at the time of initializing the decoder.
> And I would create my decoder instance only when I get this information
> using OMX_AUDIO_PARAM_MP3TYPE.
> and then proceed with the decoding.
>
> Regards
> APT
>
>
> On Sat, Mar 21, 2009 at 12:22 AM, rktb <[email protected]> wrote:
>
>>
>> Why would the parser need to communicate this information the
>> component? The component will know this when it decodes the first
>> frame. Right?
>>
>> -Ravi
>>
>> On Mar 20, 10:33 am, MMF <[email protected]> wrote:
>> > Hello Friends,
>> >
>> > I have a small doubt to be clarified.
>> > I will try to explain it with mp3 decoder example.
>> >
>> > I have a mp3 parser (pv parser node) which is capable of extracting the
>> > information about channel, bit-rate, sample-rate from the .mp3 file
>> while
>> > parsing.
>> > Now this information I need in my OMX mp3 decoder component..
>> > Is there any way I can communicate this info from my parser to OMX
>> > component? (which is nothing but calling the SetParam of the OMX
>> component).
>> > What I need to do in the parser or in the player engine so that the
>> SetParam
>> > gets called?
>> > Is there any method or way of achieving this in OpenCORE FW.
>> >
>> > regards
>> > APT
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to