mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
Add g729 passthrough for windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2581 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
add502f073
commit
8b8a85db56
3 files changed
+306
-140
No files matched your search
+1
-1
@@ -1630,7 +1630,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
||||
read_codec = switch_core_session_get_read_codec(session);
|
||||
|
||||
assert(read_codec != NULL);
|
||||
if (!(pass = switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) {
|
||||
if (!(pass = (uint8_t)switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) {
|
||||
if (switch_core_codec_init(&write_codec,
|
||||
"L16",
|
||||
read_codec->implementation->samples_per_second,
|
||||
|
||||
Reference in new issue
Block a user