equal
deleted
inserted
replaced
236 aSourceSize = sourceSize; |
236 aSourceSize = sourceSize; |
237 aSourceIndex = sourceSizeIndex; |
237 aSourceIndex = sourceSizeIndex; |
238 aLargestIndex = largestSizeIndex; |
238 aLargestIndex = largestSizeIndex; |
239 } |
239 } |
240 |
240 |
241 void CMMACameraPlayer::StartL() |
241 void CMMACameraPlayer::StartL(TBool aPostEvent) |
242 { |
242 { |
243 DEBUG_INT("CMMACameraPlayer:StartL iState %d", iState); |
243 DEBUG_INT("CMMACameraPlayer:StartL iState %d", iState); |
244 |
244 |
245 // start can't be called to not ready player |
245 // start can't be called to not ready player |
246 if (iState == EPrefetched) |
246 if (iState == EPrefetched) |
259 |
259 |
260 // Notify the camera window |
260 // Notify the camera window |
261 // about the status change |
261 // about the status change |
262 iWindow->SetStarted(ETrue); |
262 iWindow->SetStarted(ETrue); |
263 |
263 |
264 // inform java side |
264 if (aPostEvent) |
265 PostLongEvent(CMMAPlayerEvent::EStarted, time); |
265 { |
|
266 // inform java side |
|
267 PostLongEvent(CMMAPlayerEvent::EStarted, time); |
|
268 } |
266 } |
269 } |
267 PostActionCompleted(KErrNone); // java start return |
270 PostActionCompleted(KErrNone); // java start return |
268 } |
271 } |
269 |
272 |
270 void CMMACameraPlayer::StopL(TBool aPostEvent) |
273 void CMMACameraPlayer::StopL(TBool aPostEvent) |