mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
clean some old members and naming conventions in the codec structs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10084 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
f1da124229
commit
30c318b995
39 files changed
+240
-245
No files matched your search
@@ -229,7 +229,7 @@ static switch_status_t switch_speex_decode(switch_codec_t *codec,
|
||||
speex_bits_read_from(&context->decoder_bits, (char *) encoded_data, (int) encoded_data_len);
|
||||
speex_decode_int(context->decoder_state, &context->decoder_bits, buf);
|
||||
}
|
||||
*decoded_data_len = codec->implementation->bytes_per_frame;
|
||||
*decoded_data_len = codec->implementation->decoded_bytes_per_packet;
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
@@ -274,7 +274,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_speex_load)
|
||||
for (countb = 1; countb > 0; countb--) {
|
||||
switch_core_codec_add_implementation(pool, codec_interface,
|
||||
SWITCH_CODEC_TYPE_AUDIO, ianacode[counta], "SPEEX", NULL, rate, rate, bps[counta],
|
||||
mpf * countb, spf * countb, bpf * countb, ebpf * countb, 1, 1, 6,
|
||||
mpf * countb, spf * countb, bpf * countb, ebpf * countb, 1, 1,
|
||||
switch_speex_init, switch_speex_encode, switch_speex_decode, switch_speex_destroy);
|
||||
}
|
||||
rate = rate * 2;
|
||||
|
||||
Reference in new issue
Block a user