View Single Post
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#3
Originally Posted by craftyguy View Post
I'm considering developing an application, and one feature is to output audio over the phone speaker that you hear when you hold the N900 up to your ear (like when on the phone). I cannot find any information in the developer guide posted in the wiki. Is this possible?
I've been researching this a bit, and I have only very vague hints (QT specific):
If you're using a QMediaPlayer object then by using QMediaPlayer::service() to get a QMediaService and then QMediaService::control(QAudioEndpointSelector_iid) to get a QAudioEndpointSelector, you should be able to select the audio output.

I haven't yet figured out what iid to pass to the service() function.
This is all theoretical so far, so if you do manage, please let me know as well.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 

The Following User Says Thank You to uvatbc For This Useful Post: