Re-enable silence detection
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@224 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
64f851ea57
commit
d43975b615
|
@ -744,10 +744,10 @@ static pj_status_t play_cb( /* in */ void *user_data,
|
|||
&level);
|
||||
|
||||
/* Skip if we don't have signal. */
|
||||
//if (silence) {
|
||||
// TRACE_(("sil:%d ", i));
|
||||
// continue;
|
||||
//}
|
||||
if (silence) {
|
||||
TRACE_(("sil:%d ", i));
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Convert the buffer to unsigned value */
|
||||
for (j=0; j<conf->samples_per_frame; ++j)
|
||||
|
|
Loading…
Reference in New Issue