diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-22446D23-3CF7-5E1B-B479-4DCA6B6A3DA9-GENID-1-8-1-18-1-1-5-1-7-1-6-1-7-1.dita --- a/Symbian3/SDK/Source/GUID-22446D23-3CF7-5E1B-B479-4DCA6B6A3DA9-GENID-1-8-1-18-1-1-5-1-7-1-6-1-7-1.dita Wed Mar 31 11:11:55 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ - - - - - -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