mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7908 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -138,6 +138,7 @@ struct switch_core_session {
|
||||
switch_frame_t enc_read_frame;
|
||||
uint8_t raw_read_buf[SWITCH_RECOMMENDED_BUFFER_SIZE];
|
||||
uint8_t enc_read_buf[SWITCH_RECOMMENDED_BUFFER_SIZE];
|
||||
switch_codec_t bug_codec;
|
||||
};
|
||||
|
||||
struct switch_media_bug {
|
||||
|
||||
@@ -1025,6 +1025,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_init(switch_codec_t *codec,
|
||||
int channels,
|
||||
uint32_t flags, const switch_codec_settings_t *codec_settings, switch_memory_pool_t *pool);
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_codec_copy(switch_codec_t *codec, switch_codec_t *new_codec, switch_memory_pool_t *pool);
|
||||
|
||||
/*!
|
||||
\brief Encode data using a codec handle
|
||||
\param codec the codec handle to use
|
||||
|
||||
Reference in New Issue
Block a user