View Single Post
  #23 (permalink)  
Old 05-24-2010, 11:42 AM
[ACL]'s Avatar
[ACL]
VIP Member
Offline
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

Quote:
Originally Posted by Kushiel View Post
Is there anything in particular I should be looking for? I have decompiled wavedev.dll and am in the process of identifying and renaming all the subroutines that I can. (This is about 45% done.) I'm normally a Java guy but I have done reverse engineering and C in the past. What I haven't really dealt with is kernel or driver development, so while I can map everything out I'm not going to know what it all means.

I have identified multiple functions involved with the audio path, but two of the most interesting seem to be AudioPath2PDA and AudioPath2GSM. Each of them calls the same 3 main functions, but the order is different. AudioPath2PDA disables the receiver, sets the flags and registry that the phone is not active, and then changes the audio mode. AudioPath2GSM turns the hearing aid on (if enabled), sets the flags, sets the audio mode, and then enables the receiver. There is a conditional check on the last step that I think has to do if speakerphone is enabled or not, but it is dependent on a pointer I haven't mapped yet.

Kushiel

P.S. Before anyone asks why there are GSM functions, I've been using the Topaz drivers referenced by ghost_deini.
Sounds like you guys are moving along with this nicely. Besides ghost_deni, has anyone else visited the irc room? Just want to make sure no one re-invents the wheel if the other devs already are on the same path.
Reply With Quote
This post has been thanked 1 times.