mscommon.c:
void ms_init(){
….
/* register builtin MSFilter's */ //这侧内置的一些filter
for (i=0;ms_filter_descs[i]!=NULL;i++){
ms_filter_register(ms_filter_descs[i]);
}
。。。
********************************
其中ms_filter_descs如下:
MSFilterDesc * ms_filter_descs[]={
35 &ms_alaw_dec_desc,
36 &ms_alaw_enc_desc,
37 &ms_ulaw_dec_desc,
38 &ms_ulaw_enc_desc,
39 &ms_file_player_desc,
40 &ms_rtp_send_desc,
41 &ms_rtp_recv_desc,
42 &ms_dtmf_gen_desc,
43 &ms_file_rec_desc,
44 &ms_speex_dec_desc,
45 &ms_speex_enc_desc,
46 &ms_gsm_dec_desc,
47 &ms_gsm_enc_desc,
48 &ms_speex_ec_desc,
49 &ms_tee_desc,
50 &ms_conf_desc,
51 //&alsa_write_desc,
52 //&alsa_read_desc,
53 //&oss_read_desc,
54 //&oss_write_desc,
55 //&ms_arts_read_desc,
56 //&ms_arts_write_desc,
57 //&ms_v4l_desc,
58 //&ms_sdl_out_desc,
59 //&ms_h263_enc_desc,
60 //&ms_h263_dec_desc,
61 &ms_join_desc,
62 #ifndef DISABLE_RESAMPLE
63 &ms_resample_desc,
64 #endif
65 &ms_volume_desc,
66 &ms_ice_desc,
67 &ms_equalizer_desc,
68 NULL
69 };
******************
在ms_
void ms_init(){
….
/* register builtin MSFilter's */ //这侧内置的一些filter
for (i=0;ms_filter_descs[i]!=NULL;i++){
ms_filter_register(ms_filter_descs[i]);
}
。。。
********************************
其中ms_filter_descs如下:
MSFilterDesc * ms_filter_descs[]={
35 &ms_alaw_dec_desc,
36 &ms_alaw_enc_desc,
37 &ms_ulaw_dec_desc,
38 &ms_ulaw_enc_desc,
39 &ms_file_player_desc,
40 &ms_rtp_send_desc,
41 &ms_rtp_recv_desc,
42 &ms_dtmf_gen_desc,
43 &ms_file_rec_desc,
44 &ms_speex_dec_desc,
45 &ms_speex_enc_desc,
46 &ms_gsm_dec_desc,
47 &ms_gsm_enc_desc,
48 &ms_speex_ec_desc,
49 &ms_tee_desc,
50 &ms_conf_desc,
51 //&alsa_write_desc,
52 //&alsa_read_desc,
53 //&oss_read_desc,
54 //&oss_write_desc,
55 //&ms_arts_read_desc,
56 //&ms_arts_write_desc,
57 //&ms_v4l_desc,
58 //&ms_sdl_out_desc,
59 //&ms_h263_enc_desc,
60 //&ms_h263_dec_desc,
61 &ms_join_desc,
62 #ifndef DISABLE_RESAMPLE
63 &ms_resample_desc,
64 #endif
65 &ms_volume_desc,
66 &ms_ice_desc,
67 &ms_equalizer_desc,
68 NULL
69 };
******************
在ms_