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: john.wei nokia.com
Reviewed by:
Date: 26-June-2007
Project: SymbianMmf_Rel
TSW: MVIA-6VREEA
Synopsis: file io error on local surestream clips
In the usual case, only one CHXMiniFileObject is created and
it accesses
to one IHXMMFDataSource object for reading the local clip.
However, in
the case of local surestream clip, multiple
CHXMiniFileObject are
created. However, they are currently using the same
IHXMMFDataSource
object for file reading, resulting massive clip reading
error. Symbian
MMF framework gives Helix only one IHXMMFDataSource object.
This CR proposes a set of read, write, open, seek, and close
methods on
IHXMMFDataSource. These new methods enable multiple
CHXMiniFileObject
objects to read file though single IHXMMFDataSource object
without
interfering each other's reading pointer.
Files Modified:
RCS file: /cvsroot/common/include/ihxmmfdatasource.h,v
RCS file: /cvsroot/common/fileio/hxdatasource.cpp,v
RCS file: /cvsroot/common/fileio/pub/hxdatasource.h,v
RCS file: /cvsroot/filesystem/local/mini/minifileobj.cpp,v
======================================================
Image Size and Heap Use impact: minor
Module Release testing (STIF) : Passed
Test case(s) Added : Yes, any local surestream clip
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: Head & 210CayS
_______________________________________________
Filesystem-dev mailing list
Filesystem-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/
filesystem-dev
|