Track the Time You Waste on Social Media with Socials Addict

When you use your phone, you often don’t even realize how much time you … more

Document the Story of Your Social Life with 8tory

The different forms of social media are growing every day. It’s hard to imagine a day … more

Make Calling Your Loved Ones Easier and Cheaper this Diwali

Diwali, or Deepawali as some Indians call it, is the pride and joy of Indian … more

Big Android BBQ 5.0 Recap – XDA TV

This fifth annual Big Android BBQ has come and gone. The speakers have spoke, the sponsors have … more
Post Reply

[FIX] Fix poor AAC streaming performance (Pandora, Slacker, etc) on Froyo

OP mrcrassic

27th July 2010, 08:16 PM   |  #1  
mrcrassic's Avatar
OP Senior Member
Flag New York
Thanks Meter: 40
 
352 posts
Join Date:Joined: Sep 2007
More
When I installed Froyo on my N1, I found that streaming quality over Pandora suffered tremendously; low-quality was unbearable, and high-quality sounded worse than low-quality normally does. The change to StageFright from OpenCore is to blame here, while it improves HTTP streaming, it's AAC decoder doesn't decode LC-AAC streams properly.

To disable it temporarily, use
Code:
adb setprop media.stagefright.enable-player false
and restart any applications actively playing anything. To disable it permanently, pull build.prop from /system and change the value there. When you restart, it should be disabled; use adb getprop to verify.

Of course, the phone needs to be rooted for this to happen, as r/w access to /system is required.
Last edited by mrcrassic; 27th July 2010 at 08:18 PM.
The Following User Says Thank You to mrcrassic For This Useful Post: [ View ]
27th July 2010, 10:03 PM   |  #2  
Senior Member
Thanks Meter: 10
 
112 posts
Join Date:Joined: Jun 2010
THANK YOU!!!

I was so completely frustrated by this, as my phone is my primary source of music in my car via Rhapsody, that i had just rolled back to 2.1 yesterday.

I just verified your 'fix' and my sound is now perfect again!

Side note to everyone out there, setprop is a shell command, so you actual command to set the property is:
adb shell setprop media.stagefright.enable-player false

But there's no reason you shouldn't change the property in your build.prop file if you listen to streaming music regularly.

Again, THANK YOU for this fix!!

One other side note: this change also appears to fix the bluetooth "skipping" issue that appeared in 2.2 as well.
Last edited by propain4444; 27th July 2010 at 10:05 PM.
27th July 2010, 10:45 PM   |  #3  
Mikey's Avatar
Retired Senior Moderator
Flag Chicago
Thanks Meter: 1,028
 
5,475 posts
Join Date:Joined: Oct 2007
Donate to Me
More
HUGE difference for the better

Thank you
28th July 2010, 12:16 AM   |  #4  
Senior Member
Thanks Meter: 7
 
426 posts
Join Date:Joined: Apr 2010
Quote:
Originally Posted by cnunez1987

When I installed Froyo on my N1, I found that streaming quality over Pandora suffered tremendously; low-quality was unbearable, and high-quality sounded worse than low-quality normally does. The change to StageFright from OpenCore is to blame here, while it improves HTTP streaming, it's AAC decoder doesn't decode LC-AAC streams properly.

To disable it temporarily, use

Code:
adb setprop media.stagefright.enable-player false
and restart any applications actively playing anything. To disable it permanently, pull build.prop from /system and change the value there. When you restart, it should be disabled; use adb getprop to verify.

Of course, the phone needs to be rooted for this to happen, as r/w access to /system is required.

Thanks for the info man


Just curious though, does anyone know the cause of why this is? Maybe a different decoder would have more success?
28th July 2010, 12:41 AM   |  #5  
Junior Member
Flag Euless, Texas
Thanks Meter: 0
 
11 posts
Join Date:Joined: Nov 2006
More
Thanks, sounds much better.

Now I have to remember to change my build.prop nearly everyday when I flash a new rom.
28th July 2010, 01:17 AM   |  #6  
Senior Member
Flag Justice
Thanks Meter: 1
 
455 posts
Join Date:Joined: Apr 2010
More
I'm rooted and pulled the build.prop file, but what program do I need to open the build.prop file and edit it?
28th July 2010, 01:31 AM   |  #7  
Senior Member
Flag Seattle
Thanks Meter: 8
 
184 posts
Join Date:Joined: Jan 2009
More
Quote:
Originally Posted by PeRRiiN

I'm rooted and pulled the build.prop file, but what program do I need to open the build.prop file and edit it?


any text editor, notepad included, will work
28th July 2010, 01:36 AM   |  #8  
Senior Member
Flag Justice
Thanks Meter: 1
 
455 posts
Join Date:Joined: Apr 2010
More
Quote:
Originally Posted by Manacit

any text editor, notepad included, will work

Thank you, I'll try it out.
28th July 2010, 02:02 AM   |  #9  
Member
Flag Jacksonville
Thanks Meter: 1
 
63 posts
Join Date:Joined: Nov 2009
More
Thanks so much for the fix. Now I can listen to my tunes without some of the lyrics sounding like a Chimpmunks sing-a-long!
28th July 2010, 02:15 AM   |  #10  
venelar's Avatar
Senior Member
Flag Baton Rouge
Thanks Meter: 363
 
1,627 posts
Join Date:Joined: Jan 2007
More
Thanks for this! Having some trouble pulling it off though I'm new to android.

I have root/unlocked, and have successfully used the adb pull command to pull the build.prop file. I've got the file edited, but cannot seem to get it to push back to the device.

Here is my problem if anyone would be willing to point me to the correct method.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes