fix some stuff

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7973 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-03-27 22:22:46 +00:00
parent ecece5885f
commit 8592c5d822
4 changed files with 34 additions and 16 deletions

View File

@@ -35,6 +35,14 @@
#include <switch.h>
#include "private/switch_core_pvt.h"
static uint32_t CODEC_ID = 0;
SWITCH_DECLARE(uint32_t) switch_core_codec_next_id(void)
{
return CODEC_ID++;
}
SWITCH_DECLARE(switch_status_t) switch_core_session_set_read_codec(switch_core_session_t *session, switch_codec_t *codec)
{
switch_event_t *event;