Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2006

    Question Audio Stream and incomming call

    Dear experts! Could you please help.
    I am playing sound using CMdaAudioOutputStream and it works fine unil incomming call is comming. After incomming call comes an exception 5 is rised and application is crashed. How this can be avoiided?

  2. #2
    Registered User
    Join Date
    Dec 2005

    Re: Audio Stream and incomming call

    If an incoming call is receved, then the Callback function MaoscPlayComplete(TInt aError) should be called by CMdaaudiooutputstream with aError being KErrDied.

    You can detect the a phone call using the RCall, RPhone and RLine classes. I would suggest setting up an active object to do this, and then pause/resume your CMdaaudiooutputstream as appropriate.

Similar Threads

  1. Audio Stream and incomming call
    By gmargolin in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2006-07-09, 17:01

Posting Permissions

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