*---------------------------------------------------*
* *
* iLBC test program *
* *
* *
*---------------------------------------------------*
Mode : 30 ms
Input file : audio_chn0.pcm
Encoded file : audio_chn0_enc.pcm
Output file : audio_chn0_out.pcm
--- Encoding block 321 ---
Length of speech file: 9.6 s
Packet loss : 0.0%
Time to run iLBC : 4.3 s (44.4 % of realtime)
[AudioRecordAndPaly1]--795: Record Over!
program exit normally!
# ls -lh
-rwxr-xr-x 1 root root 827.4K Mar 31 2015 3520a
-rw-r--r-- 1 65534 65534 150.6K Mar 31 2015 audio_chn0.pcm
-rw-r--r-- 1 65534 65534 15.7K Mar 31 2015 audio_chn0_enc.pcm
单独编码
耗时: 1/2 T
压缩: 1/10
*---------------------------------------------------*
* *
* iLBC test program *
* *
* *
*---------------------------------------------------*
Mode : 30 ms
Input file : audio_chn0.pcm
Encoded file : audio_chn0_enc.pcm
Output file : audio_chn0_out.pcm
--- Decoding block 329 ---
Length of speech file: 9.9 s
Packet loss : 0.0%
Time to run iLBC : 5.8 s (58.9 % of realtime)
[AudioRecordAndPaly1]--795: Record Over!
program exit normally!
# ls -lh
-rwxr-xr-x 1 root root 827.4K Mar 31 2015 3520a
-rw-r--r-- 1 65534 65534 154.4K Mar 31 2015 audio_chn0.pcm
-rw-r--r-- 1 65534 65534 16.1K Mar 31 2015 audio_chn0_enc.pcm
-rw-r--r-- 1 65534 65534 154.2K Mar 31 2015 audio_chn0_out.pcm
编码 + 解码
耗时: 58.9 % T
压缩: 1/10