mmhais/refacladapt/data/HwDev0x10208826G729EncDefault.rss
changeset 0 79dd3e2336a0
equal deleted inserted replaced
-1:000000000000 0:79dd3e2336a0
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 // INCLUDES
       
    19 #include "resourcehwdeviceinitstructs.rh"
       
    20 #include "resourceaudioenums.hrh"
       
    21 #include "hwdeviceimplementationuids.hrh"
       
    22 
       
    23 // RESOURCE DEFINITIONS
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 //   
       
    27 // G729_ENC_RESOURCE
       
    28 // The G729_ENC_RESOURCE resource provides the client with the following 
       
    29 // initialization information:
       
    30 // 1. Hardware device UID. This UID is defined by the client.
       
    31 // 2. The device capabilities parameters consisting of sampling rate,
       
    32 //    type of encoding, channel definition (mono or stereo) and buffer size.
       
    33 //
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 
       
    37 RESOURCE DAL_RESOURCE_DATA_RESOURCE g729enc_pcm16_resource
       
    38 {
       
    39     uid = KUidHwCodecG729Enc;
       
    40     data =
       
    41         {
       
    42         DAL_RESOURCE_DATA
       
    43             {
       
    44             mode = 2; //EMMFStateRecording
       
    45             cap_data =
       
    46                 {
       
    47                 HWDEVICE_CAPABILITIES_DATA
       
    48                     {
       
    49                     Rate =   EMMFSampleRate8000Hz;
       
    50                     Encoding = 0xF; // All is supported ???
       
    51                     Channels = EMMFMono;
       
    52                     BufferSize = 5000;
       
    53                     }
       
    54                 };    // End of cap_data
       
    55             }    // End of DMS_RESOURCE_DATA (encode mode)
       
    56         }; // End of data[]
       
    57 }
       
    58 
       
    59 
       
    60 // End of File