mmhais/refacladapt/data/naviengine/hwdev0x1020658fmp3decnavi.rss
author hgs
Fri, 08 Oct 2010 19:40:43 +0100
changeset 0 79dd3e2336a0
permissions -rw-r--r--
2010wk36_01

// 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 "resourceaudioenums.hrh"
#include "hwdeviceimplementationuids.hrh"

// RESOURCE DEFINITIONS

// -----------------------------------------------------------------------------
//   
// MP3_DEC_RESOURCE
// The MP3_DEC_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 mp3dec_resource
{
    uid = KUidHwCodecMP3DecToPCM16;
    data =
        {
        DAL_RESOURCE_DATA
            {
            mode = EMMFStatePlaying; 
              
            cap_data =
                {
                HWDEVICE_CAPABILITIES_DATA
                    {
                    Rate =   0x67F;  // Binary Rep: 11001111111 = 24000, 12000, 48000, 44100,
                                     // 32000, 22050, 16000, 11025 and 8000 Hz;
                    Encoding = 0;
                    Channels = 3;   // Stereo and mono
                    BufferSize = 28800;
                    }
                };    // End of cap_data
            }    // End of DMS_RESOURCE_DATA (encode mode)		}; // End of data[]
        }; // End of data[]
}

// End of File