PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 Development (http://forum.ppcgeeks.com/forumdisplay.php?f=319)
-   -   [TESTING] - NAND OMGB (1.2.3) (http://forum.ppcgeeks.com/showthread.php?t=147260)

[ACL] 01-11-2012 09:00 PM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by huckl3b3rry (Post 2163998)
I installed the Dec 24 release and when I made calls to the phone I wasn't getting audio from the phone mic to phone that I called from, however I called out and the phone audio worked; then from that point forward incoming calls are working correctly also. Just wanted to through that out there in case someone was having the same issue. Of course I have the same no incoming call ringtone issue.

Really? shit i thought i included the ring hack on the libacoustic update. Also the original files are still up, just marked as deprecated so you need to see all downloads if you want to compare.

detule 01-11-2012 09:22 PM

Re: [TESTING] - NAND OMGB (1.2.3)
 
1 Attachment(s)
Quote:

Originally Posted by [ACL] (Post 2163982)
Nahh, dont worry about the no ringtone. That's a hack in itself that I implemented. The ringtone fails because as soon as a call comes in, the routing gets sent to the earpiece instead of the speaker.

As far as hacks go, this does wonders for my missing ringer.

Also there's stuff up on gitorious for the mic on incoming calls issue.

Though, I guess differences from gbx0b to omgb might render these ineffectual. Plus it sounds like you are on your way to figuring out more elegant solutions.

[ACL] 01-12-2012 01:09 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by detule (Post 2164010)
As far as hacks go, this does wonders for my missing ringer.

Also there's stuff up on gitorious for the mic on incoming calls issue.

Though, I guess differences from gbx0b to omgb might render these ineffectual. Plus it sounds like you are on your way to figuring out more elegant solutions.

I havent actually solved the issue and havent commited the change either until i get enough feedback from the other guys. We are a few commits behind on AudioHardware.cpp since i'm not sure if we even need them. But its simple. here is what i added.

Code:

--- a/libaudio-wince/AudioHardware.cpp
+++ b/libaudio-wince/AudioHardware.cpp
@@ -1028,6 +1028,12 @@ status_t AudioHardware::doRouting()
            audProcess = (ADRC_ENABLE | EQ_ENABLE | RX_IIR_ENABLE);
        } else {
            LOGI("Routing audio to Handset\n");
+                      if ((mMode == AudioSystem::MODE_NORMAL) && (mCurSndDevice != -1)) {
+                              LOGI("BUG: We are ignoring request to allow ring!!\n");
+                              LOGI("Mode %d out devices %x currentdevice %d)\n", mMode, outputDevices, mCurSndDevice);
+                              mCurSndDevice = sndDevice;
+                              return NO_ERROR;
+                      }
            sndDevice = SND_DEVICE_HANDSET;
        }
    }

On the cdma rhod, this condition exists where the sound is routed to handset right before it swaps to the speaker. Simply bypassing this condition helps it ring.

huckl3b3rry 01-12-2012 02:03 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
I had the incoming call/mic issue again tonight. Also, I did try Bluetooth in with my car tonight and I got audio but it started out very soft and quickly ramped up to extremely loud then distorted and crack and then went silent. after a couple of seconds it repeated that pattern.

[ACL] 01-12-2012 03:35 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by huckl3b3rry (Post 2164050)
I had the incoming call/mic issue again tonight. Also, I did try Bluetooth in with my car tonight and I got audio but it started out very soft and quickly ramped up to extremely loud then distorted and crack and then went silent. after a couple of seconds it repeated that pattern.

thanks dood. This is on the 12/24? or the 12/21+acoustic?

I need to hear back from the other regulars to see what if this is a common thing. 8-[

milda25 01-12-2012 03:50 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
I found one problem, but I don't know if this is problem with OMGB build or acoustic. If I set silent mode and vibrate only in silent the phone not vibrating during the incoming SMS. Incoming call is OK - vibrating. I'm using OMGB 21/12 + test acoustic.

anish88 01-12-2012 08:36 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by [ACL] (Post 2164061)
thanks dood. This is on the 12/24? or the 12/21+acoustic?

I need to hear back from the other regulars to see what if this is a common thing. 8-[

i was using 12/21 + acoustic and this had no incoming sound many times in call.

edit: i have not used 12/24 yet. if you would like me to update, I can. I was just waiting for the new build, because with the acoustic update, 12/21 pretty much did not give me any sound on the handset after the first or second call.

muziling 01-12-2012 09:52 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
1 Attachment(s)
When phone in, got many timeout
Quote:

01-12 21:36:47.230 W/AudioTrack( 93): obtainBuffer timed out (is the CPU pegged?) 0x381e8 user=000012c0, server=00000000
This must be reason of in-call ringtone. AudioTrack manager audio play.(frameworks/base/media/libmedia/AudioTrack.cpp)
EDIT:strange, now is normal.

Logs when phone call in

EDIT: Many folk told me, they have electric sound under Android, and they found need to turn off press sound effect under WM.

arrrghhh 01-12-2012 11:01 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by muziling (Post 2164089)
EDIT: Many folk told me, they have electric sound under Android, and they found need to turn off press sound effect under WM.

Uhhh... What? There's no scrap of WinMo left. So you must be mixing issues...

huckl3b3rry 01-12-2012 11:14 AM

Re: [TESTING] - NAND OMGB (1.2.3)
 
Quote:

Originally Posted by [ACL] (Post 2164061)
thanks dood. This is on the 12/24? or the 12/21+acoustic?

I need to hear back from the other regulars to see what if this is a common thing. 8-[


It was on the 12/24 build.


All times are GMT -4. The time now is 02:09 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0