mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
you probably think i am joking but the g722 rfc ppl need to be punished
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5990 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
7aa22799c9
commit
42a9b8fb07
2 files changed
+13
-8
No files matched your search
@@ -149,7 +149,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
|
||||
goto done;
|
||||
}
|
||||
|
||||
if ((*frame)->codec->implementation->samples_per_second != session->write_codec->implementation->samples_per_second) {
|
||||
if ((*frame)->codec->implementation->actual_samples_per_second != session->write_codec->implementation->actual_samples_per_second) {
|
||||
do_resample = 1;
|
||||
}
|
||||
|
||||
@@ -431,7 +431,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
|
||||
need_codec = 1;
|
||||
}
|
||||
|
||||
if (frame->codec->implementation->samples_per_second != session->read_codec->implementation->samples_per_second) {
|
||||
if (frame->codec->implementation->actual_samples_per_second != session->read_codec->implementation->actual_samples_per_second) {
|
||||
need_codec = 1;
|
||||
do_resample = 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user