mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 21:17:06 +00:00
sample platter
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6706 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
2ff5e3ec40
commit
44636d333f
11 files changed
+239
-70
No files matched your search
@@ -566,11 +566,9 @@ SWITCH_DECLARE(void) switch_core_session_reset(switch_core_session_t *session)
|
||||
char buf[256];
|
||||
switch_size_t has;
|
||||
|
||||
/* sweep theese under the rug, they wont be leaked they will be reclaimed
|
||||
when the session ends.
|
||||
*/
|
||||
session->read_resampler = NULL;
|
||||
session->write_resampler = NULL;
|
||||
/* clear resamplers*/
|
||||
switch_resample_destroy(&session->read_resampler);
|
||||
switch_resample_destroy(&session->write_resampler);
|
||||
|
||||
/* clear indications */
|
||||
switch_core_session_flush_message(session);
|
||||
|
||||
Reference in new issue
Block a user