30
Т а б л и ц а 9 — Синтаксис се!р_суперфрейма
celp_super_frame(celp_table_ind) // CELP table index from the
SDC
switch (audio_info.audio_sampling_rate) { //only 8 000 and 16 000 is
allowed
case 8 000:
(num_frames, num_higher_protected_bits, num_lower_protected_bits) = read_table_10 (CELP_index) break;
case 16 000:
(num_frames, num_higher_protected_bits, num_lower_protected_bits) = read_table_11 (CELP_index) break;
}
for (f = 0; f < num_frames; f++) {
// higher_protected_block for (b = 0; b < num_higher_protected_bits; b++) celp_frame[f][b] if (audio_info.CELP_CRC == 1) celp_crc_bits[f]
}
// lower_protected_part
for (f = 0; f < num_frames; f++) {
for (b = 0; b < num_lower_protected_bits; b++)
celp_frame[f][num_higher_protected_bits + b]
}
}