diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-22446D23-3CF7-5E1B-B479-4DCA6B6A3DA9.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-22446D23-3CF7-5E1B-B479-4DCA6B6A3DA9.dita Fri Jun 11 12:39:03 2010 +0100 @@ -0,0 +1,31 @@ + + + + + +MmfExSinkSource: +Multimedia Framework sink/source plug-ins example +
Description

MmfExSinkSource demonstrates +how to implement sink and source plug-ins for the Multimedia Framework. A +sink is an object that can receive multimedia data; a source is an object +that can supply it. This example implements a sink and a source as descriptor +objects.

Both the sink and source are implemented in a single class, CMMFExDescriptor, +that derives from CMMFClip. CMMFClip represents +a multimedia clip (i.e. not a stream or hardware device), which, in turn, +derives from the ECom sink interface MDataSink, and the source +interface MDataSource.

Both the example source and +sink are passed on creation a packaged TMMFExDescriptorParams object, +which specifies the descriptor to read/write, and the thread to which the +descriptor belongs.

Note that the default audio controller only uses +the default sink/sources, and returns "not supported" if you attempt to use +other sink/sources with it.

+
Download

Click +on the following link to download the example: MmfExSinkSource.zip file

Click:browse to view the example code.

+
Class summary

RThread CMMFClip MDataSink MDataSource CMMFBuffer

+
\ No newline at end of file