[HD2 Android NAND Development] themadproducer:
LibAudio Confusion :eek:

It's all directly related to "reboot on horizontal lockscreen wakeup" + Market FC + Angry Birds not working.

JUST KIDDING. :D

I WILL UPDATE THIS POST periodically as more info trickles in.

That way we could have at least one post that has it all summarized?

It would be good to ignore past posts and just start fresh here to avoid further confusion. My own older posts are slightly outdated.

1) BT VOICE DIALING

All the libaudio files have MAJOR issues when using BT Handsfree Voice Dialing as far as my tests and research shows. (at least with GB 2.3.4 and Typhoon) No, it's not Typhoon's fault. After 1-5 calls, symptoms are NO SOUND BUG, and/or 60ma+ drain. (note: disabling the stock LockScreen at settings>cm settings>tablet tweaks temporarily stops the 60ma+ drain.) NOTE: that you can MANUALLY dial and use BT successfully. Also BT sound continues to work even when all system sound has crashed.

2) DANNY "Shhhhh" BUG

Danny is the one who more consistently received this bug. I have only experienced it twice and to me, it just sounds like white noise...like when your home phone gets jammed or your tv station is all fuzzy like the old movie "Poltergeist". Correct me if I am wrong Danny, but he mentions that he experienced next to NILL shhhh problems with drizztje v2 libaudio. This is the current version that Tyween has incorporated into his cooked roms. (yes Dorimanx...that's COOKED....could't resist buddy :D)

3) 2 SEC DELAY, FC, VOLUME RESET, SHHHH, Robot Voice etc etc

For me and as I have read from many others, the one named libaudio-fix-CM.zip is IAMGPC's version. This and drizztje v2 both work seemingly near flawless on my phone...tested over many weeks of use. (except for BT Handsfree Voice Dialing...and SKYPE which I don't use but others have issues)

4) OTHER AUDIO RELATED BUGS

I have also experienced audio quirks and bugs related to the Head Phone jack. I wrote about this a while back. It includes issues where plugging in your audio jack resulted in strange things happening like launching apps, changing songs, NO SOUND etc. I just can't specifically remember. I recommend plugging in your jack while the phone is in STANDBY. It might help prevent some of these quirks. (it surely must be tied in to the way the 4 conductor jack (tip/ring/ring/sleeve) receives signals to change song tracks or launch voice dial etc.) The same wires/conductors that carry sound/microphone also get briefly shorted out to make these said features work.

*if you believe something I have written needs correction, let me know and I will update if necessary.

Below, I have attached ALL LibAudio's. They are slightly renamed but I am 100% sure they are what they say they are.

UPDATES:

- iamgpc is the only version that respects call volume level set before an outgoing call is made. Other libs will always be LOUD on outgoing call and not synced with the rocker volume.

- barty22 mentions SKYPE issues with libaudio_v2-drizztje.zip.

- 3.4.4 beta has drizztje v2 (confirmed by Tyween)

- Danny still gets the NO SOUND bug with V2

-skype has issues with all audio libs (more to it then that.

- robrob777 suggesting cm6 audio lib with rw/r/r permissions, less wobbles but has potential robot voice (attachment below...install manually and set permissions)

- added libaudio_v3-drizztje below for testing July 21 2011 (SORRY...BT Voice dialing caused NO SOUND bug after 3rd call and Outgoing volume always starts loud ISSUE)

- AUGUST 16 2011...tested libaudio from nightly 166 and though 10 calls were made with BT Voice Command successfully without freezing, AUDIO crashed for anything other than BT.

- August 17 2011...tried "Super BT Mono" app workaround without success using several libaudio versions.

- August 32 2011...Tyween updated rom to 3.6.2 with nightly 182 using Tytungs Libaudio which I have named libaudio-tytung.zip and uploaded. The post for this lib is found here http://xdaforums.com/showpost.php?p=17031938&postcount=97 Initiated calls with Cyberon VC and built in Voice Dialer and both instantly crashed dialer. This crashing is worse or more consistent than previous roms/kernels/libaudio combos.

- September 1 2011...member memin1857 has been kind enough to not only give as several posts of great information regarding the Tytung 12b Kernel with attention to adjusting Mic Gain Levels and installation, but he has also packaged a CWM flashable file to make things easier. More info is at this link to this post and you may want to read a few of his preceeding posts. http://xdaforums.com/showpost.php?p=17207745&postcount=268

- September 2 2011...tried "Super BT Mono" AGAIN. Only 1 test. Was able to make the call surprisingly using the new Tytung Kernel 12b but audio crashed as usual. Tried 4 more times with Cyberon and built in Voice Dial and everytime the audio crashed right away and sometimes the dialer crashed. With the Tytung Kernel 12b and/or libaudio, BT voice calling is even worse. (no offense to Tytung)

- September 6...using Typhoon 3.6.2 with built in Tytung Kernel 12b1 and either the Libaudio included which I believe is Tytung's, or the latest Libaudio that is from Tytung/IamGpc, I got strange dialer crashes when clicking on a voicemail notification an/or a caller in my history list. Further more, I even lost audio at random times. I have gone back to the older IamGpc Libaudio to see if it's stable with Tytung Kernel 12b1)

Tested out the CM6 libaudio you uploaded. (with correct perissions) Not so good news...sorry. :(

1) wobble sound...sorry I couldn't tell the difference :confused:

2) BT Voice Dialing...worked great 10 times in a row. Then noticed the 60ma+ drain. Then I disabled the lockscreen via settings>cm settings>tablet tweaks and drain went away as predicted. Then tried BT vd again several times only to get the NO SOUND BUG. Tried variations after reboot. Same crap. Too bad so sad. :(

3) Outgoing calls...volume is high no matter where you had the volume last. Need to raise the volume for it to CATCH and then you can lower it. Same on next calls. :(

4) Robot Voice...not to be heard and seen in my limited testing even without disabling touch tones and haptic feedback. :)

5) Shhh bug...not going to test it anyore at this point since I don't get the shhh bug with any of the libaudios. :rolleyes: