comparison src/mediastreamer/msspeexdec.c @ 12029:1c771536a032

[gaim-migrate @ 14322] This _compiles_ for me now. Theres still a bunch of "dereferencing type-punned pointer will break strict-aliasing rules" warning and some redefinition warnings from the various config.h's. The deferencing warnings look like a BE<->LE hack but I left them untouched for the time being. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Wed, 09 Nov 2005 09:57:33 +0000
parents e67993da8a22
children
comparison
equal deleted inserted replaced
12028:b0ad08e1d492 12029:1c771536a032
125 } 125 }
126 switch(prop){ 126 switch(prop){
127 case MS_FILTER_PROPERTY_FREQ: 127 case MS_FILTER_PROPERTY_FREQ:
128 obj->frequency=value[0]; 128 obj->frequency=value[0];
129 break; 129 break;
130 case MS_FILTER_PROPERTY_BITRATE:
131 case MS_FILTER_PROPERTY_CHANNELS:
132 case MS_FILTER_PROPERTY_FMTP:
133 default:
134 break;
130 } 135 }
131 return 0; 136 return 0;
132 } 137 }
133 138
134 void ms_speex_dec_setup(MSSpeexDec *obj) 139 void ms_speex_dec_setup(MSSpeexDec *obj)
186 { 191 {
187 MSFifo *outf=obj->outf[0]; 192 MSFifo *outf=obj->outf[0];
188 MSQueue *inq=obj->inq[0]; 193 MSQueue *inq=obj->inq[0];
189 gint16 *output; 194 gint16 *output;
190 gint gran=obj->frame_size*2; 195 gint gran=obj->frame_size*2;
191 gint i;
192 MSMessage *m; 196 MSMessage *m;
193 197
194 g_return_if_fail(inq!=NULL); 198 g_return_if_fail(inq!=NULL);
195 g_return_if_fail(outf!=NULL); 199 g_return_if_fail(outf!=NULL);
196 200