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:
Benny Prijono 2006-02-23 14:36:21 +00:00
parent 64f851ea57
commit d43975b615
1 changed files with 4 additions and 4 deletions

View File

@ -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)