diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-22446D23-3CF7-5E1B-B479-4DCA6B6A3DA9-GENID-1-10-1-19-1-1-6-1-7-1-6-1-7-1.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-22446D23-3CF7-5E1B-B479-4DCA6B6A3DA9-GENID-1-10-1-19-1-1-6-1-7-1-6-1-7-1.dita Tue Mar 30 11:56:28 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