1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 /* 19 20 Pathname: s_SR_info.h 21 22 ------------------------------------------------------------------------------ 23 REVISION HISTORY 24 25 Description: Modified the declaration of the structure so no pointers are 26 used in the structure. 27 28 Who: Date: 29 Description: 30 31 ------------------------------------------------------------------------------ 32 INCLUDE DESCRIPTION 33 34 This include file defines the structure, SR_Info 35 36 ------------------------------------------------------------------------------ 37 */ 38 39 /*---------------------------------------------------------------------------- 40 ; CONTINUE ONLY IF NOT ALREADY DEFINED 41 ----------------------------------------------------------------------------*/ 42 #ifndef S_SR_INFO_H 43 #define S_SR_INFO_H 44 45 /*---------------------------------------------------------------------------- 46 ; INCLUDES 47 ----------------------------------------------------------------------------*/ 48 #include "pv_audio_type_defs.h" 49 50 /*---------------------------------------------------------------------------- 51 ; MACROS 52 ; Define module specific macros here 53 ----------------------------------------------------------------------------*/ 54 55 /*---------------------------------------------------------------------------- 56 ; DEFINES 57 ; Include all pre-processor statements here. 58 ----------------------------------------------------------------------------*/ 59 60 /*---------------------------------------------------------------------------- 61 ; EXTERNAL VARIABLES REFERENCES 62 ; Declare variables used in this module but defined elsewhere 63 ----------------------------------------------------------------------------*/ 64 65 /*---------------------------------------------------------------------------- 66 ; SIMPLE TYPEDEF'S 67 ----------------------------------------------------------------------------*/ 68 69 /*---------------------------------------------------------------------------- 70 ; ENUMERATED TYPEDEF'S 71 ----------------------------------------------------------------------------*/ 72 73 /*---------------------------------------------------------------------------- 74 ; STRUCTURES TYPEDEF'S 75 ----------------------------------------------------------------------------*/ 76 typedef struct 77 { 78 Int32 samp_rate; 79 Int nsfb1024; 80 Int nsfb128; 81 } SR_Info; 82 83 /*---------------------------------------------------------------------------- 84 ; GLOBAL FUNCTION DEFINITIONS 85 ; Function Prototype declaration 86 ----------------------------------------------------------------------------*/ 87 88 /*---------------------------------------------------------------------------- 89 ; END 90 ----------------------------------------------------------------------------*/ 91 #endif 92