sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: // All rights reserved.
sl@0: // This component and the accompanying materials are made available
sl@0: // under the terms of "Eclipse Public License v1.0"
sl@0: // which accompanies this distribution, and is available
sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: //
sl@0: // Initial Contributors:
sl@0: // Nokia Corporation - initial contribution.
sl@0: //
sl@0: // Contributors:
sl@0: //
sl@0: // Description:
sl@0: //
sl@0: 
sl@0: 
sl@0: 
sl@0: // INCLUDES
sl@0: #include "resourcehwdeviceinitstructs.rh"
sl@0: #include "hwdeviceimplementationuids.hrh"
sl@0: #include "resourceaudioenums.hrh"
sl@0: 
sl@0: // RESOURCE DEFINITIONS
sl@0: 
sl@0: // -----------------------------------------------------------------------------
sl@0: //   
sl@0: // TONE_RESOURCE
sl@0: // The TONE_RESOURCE resource provides the client with the following 
sl@0: // initialization information:
sl@0: // 1. Hardware device UID. This UID is defined by the client.
sl@0: // 2. The device capabilities parameters consisting of sampling rate,
sl@0: //    type of encoding, channel definition (mono or stereo) and buffer size.
sl@0: //
sl@0: // -----------------------------------------------------------------------------
sl@0: //
sl@0: 
sl@0: RESOURCE DAL_RESOURCE_DATA_RESOURCE tone_resource
sl@0: {
sl@0: uid	= 0x10283463;
sl@0:     data =
sl@0:         {
sl@0:         DAL_RESOURCE_DATA
sl@0:             {
sl@0:             mode = 1; //EMMFStatePlaying
sl@0: 
sl@0:             cap_data =
sl@0:                 {
sl@0:                 HWDEVICE_CAPABILITIES_DATA
sl@0:                     {
sl@0: 					Rate =	 0x01;
sl@0: 					Encoding = EMMFSoundEncoding16BitPCM;
sl@0: 					Channels = 3;
sl@0: 					BufferSize = 4096;
sl@0:                     }
sl@0:                 };  // End of cap_data
sl@0:             } // End of DAL_RESOURCE_DATA
sl@0: 
sl@0:     }; // End of data[]
sl@0: }
sl@0: 
sl@0: 
sl@0: // End of File