comparison intercom/intercomd.cpp @ 3:c6c5a16ce2f2

compilation fixes
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 09:59:25 +0200
parents 13be24d74cd2
children
comparison
equal deleted inserted replaced
2:13be24d74cd2 3:c6c5a16ce2f2
87 87
88 #ifdef EFRSTUB 88 #ifdef EFRSTUB
89 /* EFR stubs - because of function name conflict in EFR and G.729 */ 89 /* EFR stubs - because of function name conflict in EFR and G.729 */
90 class EFR { 90 class EFR {
91 public: 91 public:
92 int EFR::initEncode(int dtx_mode_) { 92 int initEncode(int dtx_mode_) {
93 return 0; 93 return 0;
94 }; 94 };
95 int EFR::encode( /* (o) len in byte of encoded_data */ 95 int encode( /* (o) len in byte of encoded_data */
96 Byte * encoded_data, /* (o) The encoded bytes */ 96 Byte * encoded_data, /* (o) The encoded bytes */
97 Word16 * data /* (i) The signal block to encode */ 97 Word16 * data /* (i) The signal block to encode */
98 ) { 98 ) {
99 return 0; 99 return 0;
100 }; 100 };
101 int EFR::initDecode() { 101 int initDecode() {
102 return 0; 102 return 0;
103 }; 103 };
104 int EFR::decode( /* (o) Number of decoded samples or 0 for error */ 104 int decode( /* (o) Number of decoded samples or 0 for error */
105 Word16 * decoded_data, /* (o) Decoded signal block */ 105 Word16 * decoded_data, /* (o) Decoded signal block */
106 Byte * encoded_data, /* (i) Encoded bytes */ 106 Byte * encoded_data, /* (i) Encoded bytes */
107 Word16 mode /* (i) 0=PL, 1=Normal */ 107 Word16 mode /* (i) 0=PL, 1=Normal */
108 ) { 108 ) {
109 return 0; 109 return 0;
117 117
118 #ifdef G729STUB 118 #ifdef G729STUB
119 /* G.729 stubs - because of function name conflict in EFR and G.729 */ 119 /* G.729 stubs - because of function name conflict in EFR and G.729 */
120 class G729 { 120 class G729 {
121 public: 121 public:
122 int G729::initEncode(int dummy) { 122 int initEncode(int dummy) {
123 return 0; 123 return 0;
124 }; 124 };
125 125
126 int G729::encode( /* len in byte of encoded_data */ 126 int encode( /* len in byte of encoded_data */
127 Byte * encoded_data, /* (o) The encoded bytes */ 127 Byte * encoded_data, /* (o) The encoded bytes */
128 Word16 * data /* (i) The signal block to encode */ 128 Word16 * data /* (i) The signal block to encode */
129 ) { 129 ) {
130 return 0; 130 return 0;
131 }; 131 };
132 int G729::initDecode() { 132 int initDecode() {
133 return 0; 133 return 0;
134 }; 134 };
135 135
136 int G729::decode( /* (o) Number of decoded samples */ 136 int decode( /* (o) Number of decoded samples */
137 Word16 * decoded_data, /* (o) Decoded signal block */ 137 Word16 * decoded_data, /* (o) Decoded signal block */
138 Byte * encoded_data, /* (i) Encoded bytes */ 138 Byte * encoded_data, /* (i) Encoded bytes */
139 Word16 mode /* (i) 0=PL, 1=Normal */ 139 Word16 mode /* (i) 0=PL, 1=Normal */
140 ) { 140 ) {
141 return 0; 141 return 0;

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.