×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    4

    Red face why?!!!!!!!!!!!! Play sound failed in uplink. (N76,N95)

    problemlay audio,but immediately jump to MdapcPlayComplete. (in N76,N95,N91, symbian OS 9.2 )

    implement:when phone in answering status, playing sound. already added Capability MultimediaDD

    code:
    case EAnswering:

    iPlayerUtility = CDrmPlayerUtility::NewFilePlayerL(_L("c:\\data\\sounds\\test.amr"),
    *this,KPriority,(TMdaPriorityPreference)KPerform);
    //It will call back to MdapcInitComplete
    break;




    void MdapcInitComplete(TInt aError, const TTimeIntervalMicroSeconds& /*aDuration*/)
    {

    iState = aError ? ENotReady : EReadyToPlay;
    if(iState == EReadyToPlay)
    {
    //on N76, It's already READY!!!!! but after playL(), it's jump to finish
    iPlayerUtility ->PlayL();
    }

    }

    void MdapcPlayComplete(TInt aError)
    {
    //play finish callback
    }


    #define KPriority 80
    #define KPerform 0x00060001

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

    Re: why?!!!!!!!!!!!! Play sound failed in uplink. (N76,N95)

    the bug that enabled CDrmPlayerUtility usage for this purpose is fixed in latest SW versions, thus it is not working anymore. You gotta use APS instead.

    yucca

Similar Threads

  1. use CMdaAudioPlayerUtility play sound
    By HellenZ in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2010-02-22, 15:15
  2. play sound over telephone voice channel
    By chaudhuri_abhi in forum Mobile Java General
    Replies: 0
    Last Post: 2004-06-02, 08:15
  3. Nokia Smart Expert - solve this sound problem
    By tsoh_tan in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-10-30, 04:36
  4. Replies: 4
    Last Post: 2003-08-12, 11:04

Posting Permissions

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