os/mm/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/data/HwDev0x2000E90FAacDecOpt.rss
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/data/HwDev0x2000E90FAacDecOpt.rss Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,62 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +
1.20 +
1.21 +// INCLUDES
1.22 +#include "resourcehwdeviceinitstructs.rh"
1.23 +#include "resourceaudioenums.hrh"
1.24 +#include "hwdeviceimplementationuids.hrh"
1.25 +
1.26 +// RESOURCE DEFINITIONS
1.27 +
1.28 +// -----------------------------------------------------------------------------
1.29 +//
1.30 +// AAC DECODER
1.31 +// The AAC_DEC_RESOURCE resource provides the client with the following
1.32 +// initialization information:
1.33 +// 1. Hardware device UID. This UID is defined by the client.
1.34 +// 2. The device capabilities parameters consisting of sampling rate,
1.35 +// type of encoding, channel definition (mono or stereo) and buffer size.
1.36 +//
1.37 +// -----------------------------------------------------------------------------
1.38 +//
1.39 +
1.40 +RESOURCE DAL_RESOURCE_DATA_RESOURCE aacdecopt_resource
1.41 +{
1.42 + uid = 0x2000E90F;
1.43 + data =
1.44 + {
1.45 + DAL_RESOURCE_DATA
1.46 + {
1.47 + mode = EMMFStatePlaying;
1.48 +
1.49 + cap_data =
1.50 + {
1.51 + HWDEVICE_CAPABILITIES_DATA
1.52 + {
1.53 + Rate = 0xFFF; // Binary Rep: 111 11111111 = 64000, 24000, 12000,
1.54 + // 96000, 88200, 48000, 44100, 32000, 22050, 16000, 11025 and 8000 Hz; See SoundDevice.h
1.55 + Encoding = 0;
1.56 + Channels = 3; // Stereo and mono
1.57 + BufferSize = 28800;
1.58 + }
1.59 + }; // End of cap_data
1.60 + } // End of (encode mode)
1.61 + }; // End of data[]
1.62 +}
1.63 +
1.64 +
1.65 +// End of File