PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 (http://forum.ppcgeeks.com/forumdisplay.php?f=179)
-   -   Why sound isn't working on the TP2. (http://forum.ppcgeeks.com/showthread.php?t=121743)

WoZZeR999 07-30-2010 12:07 AM

Re: Why sound isn't working on the TP2.
 
Tried a second flash, still no sound coming from the device. I used the exact same stuff I did for the first wrapper (with the new .dll, old .dlo)

jonpry 07-30-2010 12:16 AM

Re: Why sound isn't working on the TP2.
 
Here is the source for the first version. I hex edited it to change wavedev.dll to wavedev.dlo. so you probably want to search and replace. To get something that works.

http://hotfile.com/dl/57925210/ffa24...evice.zip.html

The newer source is http://hotfile.com/dl/58402497/6d42ad0/waveDev.dll.html
Just looking over the source i noticed i didn't change all of the .dll to .dlo. But those functions aren't really called so i don't know that the deal is.

a different person did compile this one. so maybe the .def file wasn't used or something.

BTW, that's clever about deleting the dll to restore the one in rom. Hadn't thought of that.

WoZZeR999 07-30-2010 12:18 AM

Re: Why sound isn't working on the TP2.
 
That's probably the case (about not using the def), since the new dll has no exports. I'm trying to see if I can figure out how to compile this myself now.

[ACL] 07-30-2010 12:32 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by jonpry (Post 1889376)
Here is the source for the first version. I hex edited it to change wavedev.dll to wavedev.dlo. so you probably want to search and replace. To get something that works.

http://hotfile.com/dl/57925210/ffa24...evice.zip.html

The newer source is http://hotfile.com/dl/58402497/6d42ad0/waveDev.dll.html
Just looking over the source i noticed i didn't change all of the .dll to .dlo. But those functions aren't really called so i don't know that the deal is.

a different person did compile this one. so maybe the .def file wasn't used or something.

BTW, that's clever about deleting the dll to restore the one in rom. Hadn't thought of that.

ahh i need to heck the def file again. I know its in the vc project but i'm not sure it was compiled in.. i'll check in a bit..

proxhack 07-30-2010 12:44 AM

Re: Why sound isn't working on the TP2.
 
Hello Everyone,

I am able to do more testing tonight, is there a particular file that you would like me to use at this point?

WoZZeR999 07-30-2010 12:53 AM

Re: Why sound isn't working on the TP2.
 
I think I've got the code compiled correctly. I'm rebooting now (if that doesn't work, I'll try a re-flash). I've got the exports in dll. Fingers crossed.

Edit: Didn't work just moving it to the /windows folder. Building and flashing now with my compiled dll.

[ACL] 07-30-2010 01:02 AM

Re: Why sound isn't working on the TP2.
 
ok i see where i went wrong. Switching from debug to build didnt carry the def file with it.

Also im getting a warning that the def export doesnt match the dll. The def has waveDeviceWrapper as the library name where the dll is wavedev. Want me to recompile or Wozz got it?

WoZZeR999 07-30-2010 01:07 AM

Re: Why sound isn't working on the TP2.
 
1 Attachment(s)
Nope, I think I managed to get it. Attached is the wav.log of me just adjusting the sound level.

If this gets sound working, could the same thing theoretically be done for 3d as well?

[ACL] 07-30-2010 01:10 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by WoZZeR999 (Post 1889437)
Nope, I think I managed to get it. Attached is the wav.log of me just adjusting the sound level.

If this gets sound working, could the same thing theoretically be done for 3d as well?

Join us in the chat room if you can

#htc-linux on freenode

jonpry 07-30-2010 05:55 AM

Re: Why sound isn't working on the TP2.
 
Wozzer, here is a new file. Logs more stuff. Hopefully enough :-).

http://pastebin.com/XpL1LcXy


All times are GMT -4. The time now is 08:06 AM.

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


Content Relevant URLs by vBSEO 3.6.0