diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-C6ABE2CA-901E-55F1-9837-7018A1612BCF.dita --- a/Symbian3/PDK/Source/GUID-C6ABE2CA-901E-55F1-9837-7018A1612BCF.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-C6ABE2CA-901E-55F1-9837-7018A1612BCF.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,44 +1,44 @@ - - - - - -Set UpDescribes how to use the template port to start your port. -

The code for the template port Sound Driver is split into two files:

- -

The header file for the above can be found in:

-

...\template\template_variant\inc\soundsc_plat.h

-

The template .mmp file can be found in:

-

...\template\template_variant\soundsctemplate.mmp

-

Following the general pattern, your implementation is contained in the -directory:

-

path to your variant\specific

-

For example, ...\omap_hrp\h4\specific

-

Now complete these steps:

- -

You should also be prepared to add your own private data and functions -to the Sound Driver.

+ + + + + +Set UpDescribes how to use the template port to start your port. +

The code for the template port Sound Driver is split into two files:

+
    +
  • This file holds the +code for the record driver channel

    ...\template\template_variant\specific\soundsc_rx.cpp

  • +
  • This file holds code +for the playback driver channel together with code which is common to both +channels.

    ...\template\template_variant\specific\soundsc_tx.cpp

  • +
+

The header file for the above can be found in:

+

...\template\template_variant\inc\soundsc_plat.h

+

The template .mmp file can be found in:

+

...\template\template_variant\soundsctemplate.mmp

+

Following the general pattern, your implementation is contained in the +directory:

+

path to your variant\specific

+

For example, ...\omap_hrp\h4\specific

+

Now complete these steps:

+
    +
  • create a copy of the +template port implementation files soundsc_rx.cpp and soundsc_tx.cpp, +copy them into your variant specific directory

  • +
  • create a copy of the +header file soundsc_plat.h, copy it to the include directory +for your variant

  • +
  • rename the Sound Driver +PDD factory class DTemplateSoundScPddFactory, to reflect +the name of your device

  • +
  • rename the classes DTemplateSoundScRxPdd and DTemplateSoundScTxPdd to reflect the name of your device.

  • +
+

You should also be prepared to add your own private data and functions +to the Sound Driver.

\ No newline at end of file