Describes 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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.