Avatar of eztalk
eztalk

asked on 

Playing a sound through a phone speaker (v2)

Is there a way to play a sound (.wav) through a phone (WM Smartphone or PPC with phone module) speaker? Not the loudspeaker that PlaySound() engages, but the small silent speaker that you hear when you hold the device at the ear.
The built-in WM 6.0 VoIP client has the same problem - when you make a call, you hear other party talking through loudspeaker located on the back of the device - not very convenient.
Does it mean that it's impossible to play the sound through the ear speaker?
Windows OSVoice Over IPMicrosoft Development

Avatar of undefined
Last Comment
Maciej S
ASKER CERTIFIED SOLUTION
Avatar of Maciej S
Maciej S
Flag of Poland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of eztalk
eztalk

ASKER

thanks HTH,
But that's another issue.
Those guys are trying to turn on the speakerphone (loud speaker, rear speaker) for a common phone call, and use RIL API for that.
We need NOT to use it, but use the earpiece, and NOT for a phone call, but for PlaySound().
Avatar of Maciej S
Maciej S
Flag of Poland image

As far as I understand what is written is these posts, they are trying to do exactly the same, as you want :)
Let me quote first post, from that link:

"Hi would like to know if someone outthere knows if its possible to playback a
file but not througth the normal phone spearker but from earpiece, as same as
we receive a phone call."

So - this guy wants to play sound via an earpiece (as this is written in quotted post: the same speaker, which is used to make a phone call).
Anyway, if this is not, what you were looking for, I'm afraid I can't help :(

PS HTH = Hope This Helps :) My nick is oklit :)
Avatar of eztalk
eztalk

ASKER

thanks oklit :)
I tried it hard, and it worked only on WM SP 5.0 device (HTC S710). Pocket PCs didn't (Toshiba G900 ignored it,  Glofiish X800 ceased to play sound at all).
Avatar of eztalk
eztalk

ASKER

...oops, S710 is WM SP 6.0, not 5.0

Generally, the trick seems to work only on smartphones.
Avatar of Maciej S
Maciej S
Flag of Poland image

According to this: http://osdir.com/ml/voip.pjsip/2008-05/msg00084.html such functionality can be vendor specific.
IIRC, there is some application from Eten (I've got Eten M700, but without builtin apps), which can switch sound from rear speaker to an earpiece (but this can just for Skype).

I found also this discussion: http://www.teksoftco.com/forum/viewtopic.php?t=1466. You may find this interesting.
Windows OS
Windows OS

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo