×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2008
    Location
    Bangalore/India
    Posts
    22

    Question how to switch between earpiece and loudspeaker, when having a active call

    Hello Friends,

    I am working on series S60 3rd edition(FP1).I have query regarding Calling Application.

    This is the code which i was used to get "how to switch between earpiece and loudspeaker, when having a active call.",

    {
    TInt mode(-1);

    TInt errNo = RProperty::Get(KTelephonyAudioOutput,
    KTelephonyAudioOutputPreference, mode);

    RDebug::Print(_L("CAnswerIncomingCallContainerView::ToggleSpeaker() err == %d"), errNo);

    switch (mode)
    {
    case EPSPrivate:
    RProperty::Set(KTelephonyAudioOutput,
    KTelephonyAudioOutputPreference, EPSPublic);
    break;
    case EPSPublic:
    RProperty::Set(KTelephonyAudioOutput,
    KTelephonyAudioOutputPreference, EPSPrivate);
    break;
    default:
    break;
    }

    My Application is Successfully working in N95 With Loudspeaker option.

    But the same Application not activating Loudspeaker in E61 and N73, could any one tell me, why it's not supporting..

    Could any one suggest me any other way to solve this problem.
    Thank you in advance...

    Regards,
    Srinu..
    Last edited by rapelly.srinu; 2008-12-01 at 14:31.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,175

    Re: how to switch between earpiece and loudspeaker, when having a active call

    you are already having active discussion on the topic in another thread, so no point on opening new threads really: http://discussion.forum.nokia.com/fo...d.php?t=151436

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    12

    Re: how to switch between earpiece and loudspeaker, when having a active call

    What is the equivalent on FP2 devices?

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,752

    Re: how to switch between earpiece and loudspeaker, when having a active call

    Get the plugin pack: http://wiki.forum.nokia.com/index.php/SDK_API_Plug-in
    Call Audio Control API does that.

Similar Threads

  1. play sound in the loudspeaker when a earpiece is connected
    By alexpr in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2007-10-04, 16:55
  2. How to play sound through the earpiece receiver
    By baldanza in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2007-06-04, 14:05
  3. earpiece and loudspeaker
    By popeye_luck in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2006-09-07, 12:46
  4. Loudspeaker and earpiece speaker problem.
    By dstl1128 in forum Symbian
    Replies: 8
    Last Post: 2006-05-29, 16:29
  5. CmdaAudioOutputStream switching between Earpiece 'n Loudspeaker
    By troyanker in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-01-24, 18:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×