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