|
"Nokia submits this code under the terms of a commercial contribution agreement with RealNetworks,
and I am authorized to contribute this code under said agreement."
Modified by: Gang.Jia nokia.com
Reviewed by:
Date: 3/12/2007
Project: SymbianMmf_wm
ErrorId: HLJT-7A49ZN
Synopsis: CR: "System error" while playing/skipping WM DRM audio tracks.
Overview: In the current design the ASF file format and the mini file object can not handle more
than 2 reads at the same time. But when seek happens the second read may come in before the first
ReadDone and it will cause the problem. To avoid that we need to cancel all the read coming before
the seek if it hasn't finished the ReadDone. Since the underline asynchronous DataSource is lack of
a method to cancel the ongoing read a check is put in ReadDone in the MiniFileObj, if the returned
buffer is not the one the MiniFileObj is expecting it will be deleted without sending back to the
file format. Changes in IHXMMFDataSourceObserver is to make ReadDone can pass the buffer
pointer as IHXBuffer back to the MiniFileObj.
Root Cause of the problem: Implementation.
Files Added: None.
Files Modified:
/common/fileio/hxdatasource.cpp
/common/fileio/pub/hxdatasource.h
/common/fileio/platform/symbian/asynchronousmultireader.cpp
/common/fileio/platform/symbian/HxMMDataSource.cpp
/common/fileio/pub/platform/symbian/HxMMDataSource.h
/common/include/ihxmmfdatasource.h
/filesystem/local/mini/minifileobj.h
/filesystem/local/mini/minifileobj.cpp
Image Size and Heap Use impact: no major impact
Module Release testing (STIF) : Passed local test cases.
Test case(s) Added : N/A.
Memory leak check performed : Yes. No new leaks introduced
Platforms and Profiles Build Verified: helix-client-s60-32-mmf-mdf-arm
Platforms and Profiles Functionality verified: armv5 & winscw
Branch: 210CayS & Head
<<diff.txt>>
|