os/mm/mmhais/refacladapt/data/HwDev0x10206591AmrWbDecDefault.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
sl@0
    24
// RESOURCE DEFINITIONS
sl@0
    25
sl@0
    26
// -----------------------------------------------------------------------------
sl@0
    27
//   
sl@0
    28
// AMRWB_DEC_RESOURCE
sl@0
    29
// The AMRWB_DEC_RESOURCE resource provides the client with the following 
sl@0
    30
// initialization information:
sl@0
    31
// 1. Hardware device UID. This UID is defined by the client.
sl@0
    32
// 2. The device capabilities parameters consisting of sampling rate,
sl@0
    33
//    type of encoding, channel definition (mono or stereo) and buffer size.
sl@0
    34
//
sl@0
    35
// -----------------------------------------------------------------------------
sl@0
    36
//
sl@0
    37
sl@0
    38
RESOURCE DAL_RESOURCE_DATA_RESOURCE amrwbdec_resource
sl@0
    39
{
sl@0
    40
    uid = KUidHwCodecAWBDecToPCM16;
sl@0
    41
    data = 
sl@0
    42
        {
sl@0
    43
        DAL_RESOURCE_DATA
sl@0
    44
            {
sl@0
    45
            mode = EMMFStatePlaying; 
sl@0
    46
              
sl@0
    47
            cap_data =
sl@0
    48
                {
sl@0
    49
                HWDEVICE_CAPABILITIES_DATA
sl@0
    50
                    {
sl@0
    51
                    Rate =   EMMFSampleRate16000Hz; 
sl@0
    52
                    Encoding = 0;
sl@0
    53
                    Channels = 3;   // Stereo and mono
sl@0
    54
                    BufferSize = 28800;
sl@0
    55
                    }
sl@0
    56
                };    // End of cap_data
sl@0
    57
            }    // End of DAL_RESOURCE_DATA (encode mode)
sl@0
    58
        }; // End of data[]
sl@0
    59
}
sl@0
    60
sl@0
    61
sl@0
    62
// End of File