--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mmhais/refacladapt/data/hwdev0x101f9f41pcm16default.rss Tue Feb 02 01:56:55 2010 +0200
@@ -0,0 +1,78 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+
+// INCLUDES
+#include "resourcehwdeviceinitstructs.rh"
+#include "hwdeviceimplementationuids.hrh"
+#include "resourceaudioenums.hrh"
+
+// RESOURCE DEFINITIONS
+
+// -----------------------------------------------------------------------------
+//
+// PCM16_IMAADPCM_RESOURCE
+// The PCM16_IMAADPCM_RESOURCE resource provides the client with the following
+// initialization information:
+// 1. Hardware device UID. This UID is defined by the client.
+// 2. The device capabilities parameters consisting of sampling rate,
+// type of encoding, channel definition (mono or stereo) and buffer size.
+//
+// -----------------------------------------------------------------------------
+//
+
+RESOURCE DAL_RESOURCE_DATA_RESOURCE pcm16_imaadpcm_resource
+{
+ uid = 0x101F9F41; //KMmfUidHwDevicePCM16ToIMAADPCM
+ data =
+ {
+ DAL_RESOURCE_DATA
+ {
+ mode = 2; //EMMFStateRecording
+
+ cap_data =
+ {
+ HWDEVICE_CAPABILITIES_DATA
+ {
+ Rate = 0xff;
+ Encoding = EMMFSoundEncoding16BitPCM;
+ Channels = 3;
+ BufferSize = 4096;
+ }
+ }; // End of cap_data
+ }, // End of DAL_RESOURCE_DATA (encode mode)
+
+ DAL_RESOURCE_DATA
+ {
+ mode = EMMFStatePlaying; // Decode or Play
+
+ cap_data =
+ {
+ HWDEVICE_CAPABILITIES_DATA
+ {
+ Rate = 0x67F; // Binary Rep: 11001111111 = 24000, 12000, 48000, 44100,
+ // 32000, 22050, 16000, 11025 and 8000 Hz
+ Encoding = EMMFSoundEncoding16BitPCM;
+ Channels = 3; // 3 EMMFMono | EMMFStereo
+ BufferSize = 28800;
+ }
+ }; // End of cap_data
+ } // End of DMS_RESOURCE_DATA (decode mode)
+ }; // End of data[]
+ }
+
+
+// End of File