New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
dang69
Old
#1  
Senior Member - OP
Thanks Meter 53
Posts: 208
Join Date: Jan 2007
Default CCITT U-law .wav files

2.1 played my corporate voicemail wav files which come by email just fine. Froyo will not. Can I add codecs to my system? They seem to be CCITT U-law encoded.

Running Virtuous ROM.

Thanks.
 
smw420
Old
#2  
Senior Member
Thanks Meter 9
Posts: 106
Join Date: Dec 2007
Quote:
Originally Posted by dang69 View Post
2.1 played my corporate voicemail wav files which come by email just fine. Froyo will not. Can I add codecs to my system? They seem to be CCITT U-law encoded.

Running Virtuous ROM.

Thanks.
OMG I just realized that too after reading your post. This SUCKS.


-M
 
ctinsley
Old
#3  
Senior Member
Thanks Meter 37
Posts: 192
Join Date: Nov 2008
Location: Happy Valley
I covered this in another post but to be able to play wav files in froyo you must turn off stagefright. My solution was to create a script to enable and disable this option. To do this download gscript lite or pro (if you like it). Then create two scripts, label one "Stagefright on" and the other "stagefright off" below I've written the scripts for each of these. Now that they are created all you need to do is run stagefright off before listening to your wav file. You can even leave stagefright off it won't hurt anything but you'll take a hit in the performance according to the benchmarks like quadrent. I hope this helps I know I was bummed when my vm files wouldn't work in froyo.

Scripts:
"Stagefright off" = "setprop media.stagefright.enable-player false"

"Stagefright on" = "setprop media.stagefright.enable-player true"


Oh one last thing you must be rooted and have S-off installed for this to work. Non rooted owners are out of luck till Google provides a fix if ever.



Sent from my ADR6300 using XDA App
 
normg
Old
#4  
Junior Member
Thanks Meter 0
Posts: 27
Join Date: May 2010
Thanks ctinsley!!! Works like a charm...
 
apsawyer65
Old
#5  
apsawyer65's Avatar
Senior Member
Thanks Meter 3
Posts: 133
Join Date: Sep 2010
Location: Milwaukee, WI
Works great. Thank you ctinsley!!
 
dang69
Old
#6  
Senior Member - OP
Thanks Meter 53
Posts: 208
Join Date: Jan 2007
Excellent! Thanks so much.
 
NilsP
Old
#7  
NilsP's Avatar
Recognized Developer
Thanks Meter 4674
Posts: 5,683
Join Date: Jul 2009
Location: Near Albany NY

 
DONATE TO ME
If you don't want to bother with the script (great find) and don't mind paying $2.99 for an app "Remote Wave" works great.
Couple of links:

My HTC Rezound ROM's: Here
My HTC Incredible ROM's: Here
My Personal Page: Here
 
SimonTuffGuy
Old
#8  
Member
Thanks Meter 6
Posts: 79
Join Date: Jun 2010
Thanks for the tip! I was having the same issue and kept forgetting to post about it.
 
SeanRinVA
Old
#9  
SeanRinVA's Avatar
Member
Thanks Meter 4
Posts: 56
Join Date: Aug 2008
I 2nd Remote Wave.

Quote:
Originally Posted by NilsP View Post
If you don't want to bother with the script (great find) and don't mind paying $2.99 for an app "Remote Wave" works great.


Sent from my HTC Droid Incredible using Tapatalk Pro
SeanRinVA
BOFH for Gov't Contractor's local office

Samsung Galaxy Nexus
AOKP Jelly Bean Nightlies )


XDA PORTAL POSTS

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more