TMdaClipLocation Class Reference

class TMdaClipLocation : public TMdaPackage

Abstract base class for providing the location of audio clip data.

The location could be a filename or the address of a descriptor. An object of the derived class is passed as a parameter to CMdaAudioRecorderUtility::OpenL() (to record a clip) or CMdaAudioConvertUtility::OpenL() (to convert a clip to another format). This class could be derived from to create new types of clip location.

TMdaFileClipLocation TMdaDesClipLocation

Inherits from

Constructor & Destructor Documentation

TMdaClipLocation(TUid, TInt)

TMdaClipLocation ( TUid aUid,
TInt aDerivedSize
) [protected, inline]

Protected constructor. This can be called from a derived class, with a UID identifying the type of clip location and the size of the derived class.

Parameters

TUid aUid A UID that identifies the type of package.
TInt aDerivedSize The size of the derived class.

Member Data Documentation

TInt iSize

TInt iSize

The size of the whole audio clip in bytes.

TInt iVisible

TInt iVisible

The size of the part of the clip in bytes currently accessible. For example, a clip whose location is a URL might be larger than the amount currently available to the client.