mmhais/refacladapt/src/audiocodec/resourcehwdeviceinitstructs.rh
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 #ifndef __RESOURCEHWDEVICEINITSTRUCTS_RH__
       
    19 #define __RESOURCEHWDEVICEINITSTRUCTS_RH__
       
    20 
       
    21 //  STRUCTURE DEFINITIONS
       
    22 
       
    23 STRUCT DAL_RESOURCE_DATA
       
    24 	{
       
    25 	LONG            mode;       // resource mode for which the data is
       
    26 	STRUCT          cap_data;   // --> client-specific capability data STRUCT
       
    27 	}
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // DAL_RESOURCE_DATA_RESOURCE
       
    31 // Structure for hardware device management resource
       
    32 // -----------------------------------------------------------------------------
       
    33 //
       
    34 STRUCT DAL_RESOURCE_DATA_RESOURCE
       
    35 	{
       
    36 	LONG            uid;        // resource type UID
       
    37 	STRUCT          data[];     // array of DMS_RESOURCE_DATA
       
    38 	}
       
    39 
       
    40 // -----------------------------------------------------------------------------
       
    41 // HWDEVICE_CAPABILITIES_DATA
       
    42 // Structure for hardware device capabilities data
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 STRUCT HWDEVICE_CAPABILITIES_DATA WORD
       
    46 	{
       
    47 	LONG           Rate;        // Sample Rates supported
       
    48 	LONG           Encoding;    // Encodings supported
       
    49 	LONG           Channels;    // Mono/Stereo support
       
    50 	LONG           BufferSize;  // Buffer size sup
       
    51 	}
       
    52 
       
    53 #endif // __RESOURCEHWDEVICEINITSTRUCTS_RH__
       
    54 
       
    55 // End of File