OMX component Integration was success, but poor sound quality.

by guru » Mon, 15 Feb 2010 17:38:57 GMT


Sponsored Links
 Hi Ravi

Thanks for all your support/guidence. I am able to integrate AAC
decoder successfully to opencore. But when I play aac file, sound
quality is not clear.

I added some logs and after analyzing the logs, I guess some of the
frames might be skipped.In the function EmptyThisBuffer I am
maintaining a frame count (it's a static variable), once the main
thread sends the buffer contents to the component thread for decoding
I am increamenting the count and printing it.But the strange thing is
in the logs I am not getting the the frame count sequential, it's
random, not able to find out the reason.

What may be the reason? Is there any problem the way I am handling the
frames that PV is sending?.

Regards,
Gururaja B O

-- 



OMX component Integration was success, but poor sound quality.

by RaviY » Mon, 15 Feb 2010 22:29:42 GMT


 Good.

It's hard for me to guess. You might just want to add logging in all
places where you are consuming the buffer. Make sure that you are not
overwriting any input buffer.

-Ravi




-- 


Sponsored Links


Other Threads

1. sd card storage - the android killer

Ok now I know this has been done to death.  I seriously think this
will be the death of android.  This is currently not a priority and I
think that is something that someone needs to reconsider.  The primary
competitor for the android platform is of course the iphone.  The
primary feature of the iphone is a large amount of storage space.  Yes
I know the g1 is the first phone and the following may have larger
capacity etc...   I don't know how much stock google puts into
marketing, and first reaction but it is crucial.  When the g1 came out
with a big launch touting the android platform it became crucial that
the phone be an impressive success from the start.  What is going to
keep that from happening... Besides spotty 3G and service issues, the
main thing will be when the user goes to install the shiny new app
from the marketplace only to find they have no space left.  Now this
can happen on an iphone of course but then all one has to do is free
space by removing music etc...  This has and will create increasingly
bad press surrounding the phone.

Those waiting for an android phone with a large amount of space are
also going to suffer from sticker shock.  Apple's prices are able to
be what they are because they own the kit and kaboodle.  They paid off
their r&d on the phone with the first sales and then the market sales
are all gravy.   The android platform doesn't have this luxury, the
phones will more than likely continue to have a higher price tag (e.g.
HTCs touch line).  However if the price tag can be kept down, as it is
with the g1, by not requiring large amounts of storage internally and
relying on an sdhc for much of the storage.  Yes I know the cost of
the os being removed will reduce the overhead, but the hardware is the
issue here.

I have seen the dev's issues with this and there is no easy answer.  A
repartitioned sd card may provide at least a temporary solution,
allowing the security of each application having its own user access
restricting others and providing the much needed space.  In time this
method could be replaced, although migration may be sticky.  Although
in theory an app could be written to mount both partitions and make a
backup, and if an encrypted linux vfs was used as the end game the
data could be rewritten back after the reformat to fat.

Long story short, this should be a top priority.

Thats my 2 cents
Eric

--~--~---------~--~----~------------~-------~--~----~

2. creating own theme problem

hi,

i'm in the process of creating my own theme, mainly by adding new
NinePatchDrawables and modifying themes/styles xml files.

so far i managed to customize buttons, lists, edittexts and spinners.

but i cannot figure out how to modify tabhost/tabwidget. looking into
sources i think they are hard-coded. is it true or i'm completely
wrong?

pskink
--~--~---------~--~----~------------~-------~--~----~

3. some android stuff i made

4. How to access internet in emulator v1.0

5. Problem while creating a new file

6. Screen Goes Black Between Activities, and Next Activity never shows up.

7. Why the webkit just send to plugin 20 bytes through NPP_Write