javauis/mmapi_akn/baseline/src/cmmaaudiorecorder.cpp
branchRCL_3
changeset 46 4376525cdefb
parent 19 04becd199f91
child 60 6c158198356e
equal deleted inserted replaced
34:71c436fe3ce0 46:4376525cdefb
    66 }
    66 }
    67 
    67 
    68 /**
    68 /**
    69  * start the play
    69  * start the play
    70  */
    70  */
    71 void CMMAAudioRecorder::StartL()
    71 void CMMAAudioRecorder::StartL(TBool aPostEvent)
    72 {
    72 {
    73     TInt64 time;
    73     if (aPostEvent)
    74     GetMediaTime(&time);
    74     {
    75 
    75         TInt64 time;
    76     PostLongEvent(CMMAPlayerEvent::EStarted, time);
    76         GetMediaTime(&time);
       
    77         PostLongEvent(CMMAPlayerEvent::EStarted, time);
       
    78     }
       
    79 
    77     ChangeState(EStarted);
    80     ChangeState(EStarted);
    78     PostActionCompleted(KErrNone);   // java start return
    81     PostActionCompleted(KErrNone);   // java start return
    79 }
    82 }
    80 
    83 
    81 
    84