Changes between Version 63 and Version 64 of FAQ
- Timestamp:
- Jan 12, 2009 5:42:46 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ
v63 v64 1029 1029 102400 .rdata 1030 1030 24576 .reloc 1031 1031 1032 1032 1033 … … 1346 1347 === How to play audio to the earpiece rather than to the loudspeaker? === #sym-audio-routing 1347 1348 1348 With Multimedia StreamingAPI that we use as the implementation of sound device on Symbian, audio will be played to the loudspeaker by default, and this API does not provide the capability to switch the audio to earpiece (or in Nokia term, private audio device). So the short answer to the question is, no, we can't.1349 With '''Multimedia Streaming''' API that we use as the implementation of sound device on Symbian, audio will be played to the loudspeaker by default, and this API does not provide the capability to switch the audio to earpiece (or in Nokia term, private audio device). So the short answer to the question is, no, we can't. 1349 1350 1350 1351 But there could be some workarounds: … … 1352 1353 - some say that if you reduce the audio level played to the speaker, the phone will automatically switch the audio routing to earpiece. I haven't verified this myself though. 1353 1354 1354 Alternatively you can use the Audio Proxy Server (APS) backend for the sound device, and with this API it '''might''' be possible to control the audio routing on the phone. Please see the next FAQ entry on how to enable APS. And in the future we'll probably add support for VoIP Audio Service (VAS) API, although currently we have no immediate plan to do this since this API is only supported on Nokia S60 3rd Edition FP1 devices. 1355 Alternatively you can use the '''Audio Proxy Server (APS)''' or '''VoIP Audio Services (VAS)''' backend for the sound device (please see next entry below), and with these API's it is possible to control the audio routing on the phone. And with these backends, by default the audio routing will be set to the earpiece. Application may change the routing by calling {{{pjmedia_snd_aps_activate_loudspeaker()}}} 1356 1357 But please also note that there are some known problems with some Nokia S60 3rd Edition devices with regard to switching to use the earpiece with APS, please see this [http://wiki.forum.nokia.com/index.php/Wiki_Home: KIS000612 issue on Nokia forum] for more info. 1358 1355 1359 1356 1360 === How can I enable Audio Proxy Server (APS) in my application? === #sym-aps