yashsingh1/xdaforums huggingface dataset:
[8125, K-JAM, P4300, MDA Vario General] prodgers74:
Troca2/audioswitch on Titan

Troca2 seems to work for both the internal speaker and the mic only when troca2 is started after you're in a skype call. Audioswitch works the same way if its being started for the first time when in a skype call. If audioswitch is already running, however, you must start a call, wait to be connected, tap the screen to bring up onscreen menu, and then press the mute icon in skype. Might have something to do with the mute bug in skype 2.5 beta. Maybe there's a way to make the audioswitch not start until a connection is made. This was all done on a verizon xv6800 running dcd 3.2.6 and radio 3.42.50
[8125, K-JAM, P4300, MDA Vario General] tucahara:
audioswitch + WM6 VoIP

Dear MarceloFB,

can you manage using the audioswitch.exe and the configuration (command.txt) also with WM6VoIP ?

What command must be added on the command.txt ?

Solving audioswitch to work with WM6VoIP (especially GSM codec) is one of the MUST-HAVE....

Thank you!

P.S.

Your piece of software works great in ARTEMIS P3300 with some old Fring apps; the newer Fring has itself earpiece eneble option.
[8125, K-JAM, P4300, MDA Vario General] MarceloFB:
try to see if while in a call, the window title changes (I have no skype running on my phone right now), so you can modify the command.txt to switch only when a call is connected.
[8125, K-JAM, P4300, MDA Vario General] MarceloFB:
I also have a P3300(or in my case P3301, here in Brasil it comes with PTB WM6), very good phone!

I have never used WM6Voip myself, but just take a look in the top window for the window title (the name of application that appears right next the start menu) and put it in a new line in the commant.txt, should work...
[8125, K-JAM, P4300, MDA Vario General] tucahara:
WM6VoIP

Thank you very much Marcelo !

It works, I have added

VoIP

on the command line.

It also work great with Agephone 2.72

have added another line:

Phone

--------------------------------

Ok, I have only one more question:

It is possible to amplify with audioswitch the outbound sound? I mean, the native WM6VoIP sound is too quiet....

If possible to have the command.txt with the name of the application plus the volume (eq. 50% or 200%) will be great.

Anyway you have done a great work.

Congratulation + Thank You!
[8125, K-JAM, P4300, MDA Vario General] vittogn:
Great idea.....

......and good work but it does not wotk on my Samsung SGH-i780 WM6.1. I tested both Fring and Skype.

Thanks any way.
[8125, K-JAM, P4300, MDA Vario General] tucahara:
audioswitch off

I come to the conclusion that have to reset the phone in order to close the autoswitch.

Mortscript and SKtools don't work...

What other method to audioswitch off ?

_________________

P.S.

Yes, P3300 is indeed a very good phone!

Ok Marcelo, more observations about autoswitch: your application can be launched as many times the user want... and it shouldn't be this way!

If autoswitch application process (or all the applications processes.. if loaded several times) is killed, the routed sound remain on the earpiece until the user enable speaker switching from HTC phone dialer !

What options you have in implementing the audioswitch_off and re-route the sound from earpiece to speaker?

Thank you!
[8125, K-JAM, P4300, MDA Vario General] shahriar5252:
Great tip prodgers74:

I just tried your trick in my Sprint Mogul (HTC Titan PPC6800) running on wm6.1 radio version 3.42.02: I made a Skype call and waited to be connected and then clicked on the file for troca2 and turned it on. Then, not only did the sound come through the earpiece but also the microphone started to work as good as in making a regular call. Previously, I reported that only the sound came through the earpiece and the microphone was not working when using or AudioSwitch or troca2. In those cases, however, I had turned on troca2 before making a call. Now if we could only program the AudioSwitch program to do this trick automatically!

A request for MarceloFB: Would you please modify your AudioSwitch program to wait for a connection to be established first in Skype or Fring and then activate its program of earpiece switching and terminate it when the connection is lost and wait again for another connection to be established? Thank you.
[8125, K-JAM, P4300, MDA Vario General] tucahara:
Yes, a very good request !

For the curious who want testing the audioswitch... get the cab file:
[8125, K-JAM, P4300, MDA Vario General] MarceloFB:
tucahara, Thanks for the CAB!!!

For the next weeks I will be very busy, so no time to came to the forum and no time to program.

>> please modify your AudioSwitch program to wait for a connection to be established first in Skype or Fring <<

The key of "audio switching" is the title of the window, right now I have no WM phone with me, but please, check if the window title on fring or skype changes, so change in the command.txt the line that contains "skype" for something like "skype call". It may work.

Try increasing the switch delay to a few seconds, may work too.

I may put a delay to switch, but it will work only on the first call...

I have no idea in how to detect a call... please programmers and users, help!

>>your application can be launched as many times the user want<<

It is because this program has the "most" simplier program structure u can have in WM... at least I think... and it does not have a window. If I make an way of not having two or more instances running, it may make the program use more processor and making the voip not work.

I will post this issue in the program manual. Thanks for the feedback.

>>If possible to have the command.txt with the name of the application plus the volume (eq. 50% or 200%) will be great.<<

Good idea, will try in the next update, but wait, cause I am too busy right now.

PS: I am considering to stop developping this program, as fring already does the "trick" and there is no such a demmand for it anymore, please, tell me if you still use it, or have the need for a program like this with a specific feature.

Thanks u all for the feedback.
[8125, K-JAM, P4300, MDA Vario General] MarceloFB:
I will make the program turn off if it detects the command.txt in the title window, what do u think of it?

I am thinking of putting an trigger in the command line to be used with the Mortscript, but there is a few problems to solve... will see.

Thanks for the help and the feedback.
[8125, K-JAM, P4300, MDA Vario General] tucahara:
considering next audioswitch version...

Dear Marcelo,

your piece of software is still very-very useful !

In fact, when I am looking to the future I can clearly see your audioswitch running on most phones...

No matter that Fring, have solved the "earpiece" issue... still doesn't have a dialpad (making dialing-number very annoying, plus cannot sending DTMF during a SIP-call) and this disqualifying them.

This is a very good iddea have implemented such option..

***************************

Ok, in my opinion, there are few things to consider in the next audioswitch version:

Implementing the audioswitch_off without Mortscript.

Now, all audioswitch instances can be simply killed by using this command in a Mortscript:

Kill( "audioswitch.exe" )​

If possible to have the command.txt with the name of the application plus the volume (eq. 50% or 200%)

eq. using VM6VoIP with 200%-250% volume in earpiece*

*It will be also nice to have an option linking audiositch with other software... like an echo audio canceller (eq. fullduplex.dll or something) and then send the sound to the earpiece.​

Last but not least: re-route the sound from earpiece to speaker

There is an implementation of soundspeaker on this forum:

http://teksoftco.com/forum/viewtopic.php?p=300&view=next

But in this example, speakerphone only "switch it" with ossvcs.dll !

The sound cannot be routed "back" to the earpiece, unless the user press speaker button inside the cprog (phone-window) during a call...​

How the Fring and AGEphone have solved this issues?

This is a challenge !

Cheers,

tucahara
[8125, K-JAM, P4300, MDA Vario General] MarceloFB:
Ok, I will keep developping the program, bur for the next weeks, I will be very busy.

There is a lot of things that can be done to improve the software, I will try take the out the proprietary part of the code, so anyone that might want to help programming, please pm me.

Also, I Think this should be moved out of the wizard forum, but I do not know how to do it, please anyone, help! hehehe

Again, thanks tucahara for the feedback.
[8125, K-JAM, P4300, MDA Vario General] willi_mj:
I'm using wm6.0 on an o2 XDA 2 (aka: htc touch cruise/ polaris etc) and Fring seems to do the job quite well...works fine but the program itself is just not that great to use. Purely and interface thing and just my opinion.

I currently have both skype and fring installed. This is just my work around but I use skype for im, fring for calls. But guess I am lucky fring works on my device...it is the basic o2 rom...on the code side the only difference is the .net framework .35...not sure if this plays any part whatsoever (I'm not a whizz) for those who's fring is causing issues. Either way, I see no harm in updating .net regardless.

Just brainstorming here, but both the ext and earpiece speakers are just that...speakers. They must have code assigned to them in the rom so a program may decide which to use. Is there any way of taking skype apart....swapping externals code with the earpiece code and putting it back together? I'm pretty certain no-one will miss loudspeaker...but just my opinion and no clue if it's possible.

Keep up the good work guys!
[8125, K-JAM, P4300, MDA Vario General] VeenK:
Keep going!

Hi Marcelo,

I am very impressed. You are working on a solution which Skype and HTC are unwilling to go after. I suspect this is because the operators are leaning on them. Skype is now connected to a telephone operator and HTC supplies many of them. They don't want to upset their partners and corporate customers. These are upset as they don't like the man on the street to use their phone to make/receive Skype calls conveniently. They will loose (some of) their income and are making it as inconvenient to developers and end-users as possible without being to obvious. (yes I saw "Conspiracy Theory" once too often:))

I for one would welcome you to continue your work on this project. It is ground breaking and it seems you've cracked the difficulty and are now on the verge of creating an easy to install, user-friendly, application.

I am now travelling in China myself and can't really test Skype (through WiFi or with a data-package). However, I am looking forward to testing this on my HTC Touch Pro T7272 at a later time. This is the solution I've been looking for and seeing the number of other threads and posts I'm sure there are many people out there encouraging you to continue on this quest. And the same counts of course for anyone else on this thread working on the solution.

(Two of the main problems for the stock ROMs of my mobile (see signature) are ICR (link) and Skype Speaker.)

I see you won't have much time these days... so take your time... and don't forget this thread... WE NEED YOU!

Thank you guys for all the good work,

Kris
[8125, K-JAM, P4300, MDA Vario General] shahriar5252:
Hi MarceloFB:

Please don't give up on AudioSwitch. All that is needed is to make it turn itself on and off when the call come in or goes out. I am currently using troca2 on my Sprint Mogul (HTC Titan PPC6800) wm6.1 with the Skype 2.5 beta. Please be aware that Fring has never worked on my phone or any other Sprint Moguls. Even the newest version of Fring can only bring sound through the speaker, and whether I have Fring's earpiece switch turned on or not, the microphone will not work for Fring on the Sprint Mogul. This Fring issue is not limited to their recent version; it's always been that way with Fring. Besides Fring does not have a dial pad, which makes Fring totally worthless for calls that need you to press buttons to get connected. I reading all the posts here and waiting for something that will make AudioSwitch do what troca2 is doing automatically. So please keep up the good work. By the way, I had a friend try troca2 on ATT TouchPro (aka Fuze), and it works perfectly. So thanks a lot for all the effort so far. You are bringing true competition to the cell phone companies. If Skype is fixed for all its shortcomings, cell phone companies will be forced to compete and offer more affordable unlimited plans, and international roaming fees will also come to reasonable rates.

Without Skype, I cannot do anything with my Sprint Mogul overseas because most places in the world are stuck with the older European GSM technology. Skype allows me to work in closed areas inside buildings that don't have cell phone reception but have good wifi connection. Otherwise, I would have no connection at some place at my work. So please continue the good work.

Thank you.

P.S. When calls come through Skype or Fring, the title of wm6.1 does not change: ex. it always says "SkypeTM" with the TM as superscript.
[8125, K-JAM, P4300, MDA Vario General] MarceloFB:
hello,

I will keep developping the software, as there still need for it, and...

I think I have the solution for the problem, will set a keyboard hook when an program that is in the list is running, and use an pre-programmed key to manually switch the audio while that program is running.

or

find a way to use a hardware hotkey to switch the audio.

any other ideas??

ps: thanks for the encouragement.
[8125, K-JAM, P4300, MDA Vario General] dallen:
MarceloFB,

I also wanted to encourage you to keep up the good work. I currently use the Cingular 8525 (HTC TyTN or Hermes), I'm not actually sure what this thing is called. At any rate, I run Schap's 4.31 and am very interested in your project. I would like to be able to use Skype without having the sound come out of the speakerphone. Currently, I have to use my headphones to have a conversation and it is pretty annoying to have to carry them around with me.

I am curious about a couple of things. Would this software work on my device? If so, would it fix my problem?

Thanks again for your hard work. I know that I speak for many people when I say that I really appreciate your effort.
[8125, K-JAM, P4300, MDA Vario General] MarceloFB:
Try it out and see if it solve your problem!! and post the results. Take a look at the forum and u will see that many people have problems with tnty, but they found a way to make it work with "troca2", I have no tnty, so I can not make an specific version to this phone, I will try to solve the problems as people test and give me feedback.

Thanks.
[8125, K-JAM, P4300, MDA Vario General] shahriar5252:
Hi MarceloFB:

When I turn on Skype 2.5 beta on my Sprint Mogul (HTC PPC6800 running on wm6.1), the two softkeys at the bottom of the screen become "Call" and "Menu." Can you modify AudioSwitch or Troca2 to replace the "Call" softkey for activation/de-activation of AudioSwitch or Troca2? But the modifycation must take into account that the "Call" softkey changes to different things under Skype's different tabs. It becomes the Call softkey only in the Contact, Dial, and History tabs.

Better yet, can you modify the "Menu" in Skype to have an option for turning on or off AudioSwitch or Troca2?

Other possibilities include having an on/off feature added next to the mute button that appears during a Skype call if you tab on the Skype profile picture of the person you are calling.

But these modifications must be reversible so that if they don't work on someone's phone, they don't have to hard reset it.

Having a keyboard key programmed to do it is also a good idea. Unfortunately, I tend to not favor modifying a hardware hotkey to do it because I already have one hardware key (my messaging/email key) modified to turn off the screen since turning off the screen via the regular power button forces the device into standby mode on my PDA. In the standby mode, the Wifi turns off, and I cannot receive any Skype calls, and I will have to have the hassle of turning on the wifi and logging in again. So I use psShutXP to program my messaging hardware key to turn off only the screen without physically forcing the device into the standby mode like the hardware's power button does. This way I save a lot of battery power.

In any case, I think if Skype is smart, they will integrate your program into their PDA program and thank you and pay you for doing their job!

Thanks for your efforts.
[8125, K-JAM, P4300, MDA Vario General] VeenK:
Skype released 2.5 full (not Beta)

Hi guys,

Just a few updates...

Skype released the full version 2.5. I suspect they did some fixing on the Beta as it works better for me with ActiveSync connection. I can't test it out fully though as I am travelling in China where there is almost no WiFi.

In other news... HTC released on their website (Support Section Downloads) a new ROM for the HTC Touch Pro which also remaps some internal audio stuff as now I am able to have real ICR (In Call Recording) see another thread... here.

This new, official, ROM also seems to speed up my mobile. And I am dying to test the GPS now. Anyway, Skype speaker issue is the only thing which troubles me. Hope a cure is on the way.

By the way, please ignore my signature, it should now be:

R 1.11.25.01

G 52.58.25..30U

D 5.05.00.00

Thanks for all the good work, and if HTC and Skype don't pay you, I am at least willing to contribute a donation or something.

Thanks
[8125, K-JAM, P4300, MDA Vario General] Wynney:
Where exactly do you mean by 'root' for skype.mscr

I've tried all sorts of combinations but can't get troca to open remotely.

Do you think it's because I have skype installed on my storage card, not on the phone?
[8125, K-JAM, P4300, MDA Vario General] VeenK:
Mmmmm

But how does it work!?

I need something that switches only when a Skyp call is connected. While Skype is on standby or messaging regular speakers need to stay intact.

Is this already (automatically) possible for the HTC Touch Pro?

Krishna
[8125, K-JAM, P4300, MDA Vario General] tucahara:
The back-and-forth... method of using the audioswitch

audioswitch is somehow unusable.....

YES, because cannot be closed !

Of course, you can kill the process, but this is not a normal way of using such applications, and even if you decide just to kill the process... the sound remain routed to the earpiece, so more steps are necessary in switching back the sound from earpiece to the louder speaker.

THERE IS A HOPE ! here is my suggestion:

The method of using audioswitch in changing the sound back-and-forth... from earpiece to speaker

:)

If you decide to use audioswitch (instead troca2), after you load the audioswitch and the sound is routed through the earpiece, just push few sec. the GREEN PHONE BUTTON untill the soudspeaker appear on the titlebar. The same way, you can hold down the green "Call" button to deactivate the Speaker Phone icon & switch back the sound through the earpiece.

That's the ONLY DECENT WAY I found in using the audioswitch.

You can enter in more details on what's happen in the OS by checking:

HKLM\System\State\Hardware\Speaker (value is 0 or 1 as icon is off or on)

Dude, as a conclusion, if you want to use the earpiece-switch as a normal application (loading and unloading the software), try the old & better troca2.exe with a mortscript... I have to mention that troca2.exe is also compressed / smaller. ;)

Still waiting for a new version of audioswitch....

I suppose that Marcelo is already know about this inconvenient (of resident sound & audioswitch) but I don't know why he didn't take yet any step further...
[8125, K-JAM, P4300, MDA Vario General] tariq_niazi:
A very happy customer ...

I installed audioswitch.cab on my AT&T Tilt. Removed the default listed programs and added "X-Pro CE" into the list for my VOIP calls. Ran the program and did a test call. Everything worked out Excellent.

Thank You for your hard work. I have been waiting for a fix for the longest time.

- Tariq Niazi
[8125, K-JAM, P4300, MDA Vario General] tucahara:
audioswitch V2

The new version is here:

[APP][FREE] audioRoute 1.2.010 for VoIP

http://xdaforums.com/showthread.php?t=495166
[8125, K-JAM, P4300, MDA Vario General] DANIK6:
doesnt work ..

i tried all of programs i found in this topic, but with same result .. it doesnt works in my SP .. when i run troca2 and audioswitch it runs .. but with no change in skype ..after using audioswich i can't kill this proces in tasks.. only the way a found is to restart system .. and when i tried to run audioswitch V2 nothing's happend and i havent this app in processes too .. i have benq E72 and i red that it's possible to use audioswitch on it ...is it necessary to make any special settings in phone or in programs for using this apps ? ..

thans for reply ..
[8125, K-JAM, P4300, MDA Vario General] quetzalquatl:
As I use Skype only, I can tell is perfectly working for me! Thanks for the good job.
[8125, K-JAM, P4300, MDA Vario General] berkie60:
Installed on Touch Cruise and worked perfectly in Skype.

Thanks.

Arnie
[8125, K-JAM, P4300, MDA Vario General] DrBopp:
I installed the audioswitch.cab file from an earlier post on my Treo 700Wx running WinMobile 5.0 and it said it loaded successfully. However, I received a message that the program may not display properly because it was written for an earlier version of WinMo. I looked under Programs and did not see it. Then I went under File Explorer, chose

programs and tapped audioswitch folder. Then I updated the command.txt file adding Nimbuzz and saved. I tapped the audioswitch.exe program, but nothing happens and the setings do not take. What do I need to do to get this program to work? I don't care about whether I can turn it off or on, I just need it to work. I use my phone as wifi only. Thanks.
[8125, K-JAM, P4300, MDA Vario General] lyouth:
The Omap Cpu is not Working!

doesn't work at HTC Touch ,Sound went to loudspeaker....

I Test it on the Benq P51, Htc Touch, Asus P535,

The Intel Cpu is Working,-P51 P535

The Omap Cpu is not Working!-hTC Touch Qetk S200
[8125, K-JAM, P4300, MDA Vario General] tmnoonan:
Hi all-

I messed around with this for quite a bit on my Epix, no luck. I tried installing Fring since I heard they had soved the problem, but I guess my phone doesn't support earpiece routing. My solution is to cover the speaker with a small piece of tape, thus muffling it drastically. I now just hold the phone backwards to talk. I might look like a goof, but it works! You can't hear the conversation unless you hold the phone right up to your ear.
[8125, K-JAM, P4300, MDA Vario General] :
Hello everybody,

I've been checking all of these waveOut2earpiece apps and I have a question.

For some reason I cant get it working for x1 - voice call goes through the loudspeaker and not built-in earpiece. I use some 3rd party voip app and I have no idea how to route waveout to earpiece. I tried to modify its code and it doesn't work either.

Since some people reported that it works on SE Xperia X1 then I think i do something wrong and that's why it doesn't work.

I tried 2 methods: one with waveOutMessage & MM_WOM_FORCESPEAKER and the other method with ossvcs.dll. In case when I use the ossvcs.dll method I get that headset icon on the toolbar if I set speaker to on and this icon disappears if I set it to off, BUT I still have sound plaing through loudspeaker no matter what I do and what I pass to ossvcs.dll.

Could you tell me when I'm supposed to call that function and what do I need to use as a waveout device.

Thanks!