fix resampler bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9918 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
839fd37831
commit
75dc5caf6d
|
@ -1349,7 +1349,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
|||
}
|
||||
|
||||
olen = mlen;
|
||||
if (ringback.fh->resampler) {
|
||||
if (ringback.fh->resampler && ringback.fh->resampler->rfactor > 1) {
|
||||
olen = (switch_size_t) (olen * ringback.fh->resampler->rfactor);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue