[Freeswitch-svn] [commit] r10383 - in freeswitch/trunk/src: . include mod/endpoints/mod_sofia
FreeSWITCH SVN
mikej at freeswitch.org
Thu Nov 13 12:47:46 PST 2008
Author: mikej
Date: Thu Nov 13 15:47:45 2008
New Revision: 10383
Log:
build tweaks
Modified:
freeswitch/trunk/src/include/switch_rtp.h
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
freeswitch/trunk/src/switch_rtp.c
Modified: freeswitch/trunk/src/include/switch_rtp.h
==============================================================================
--- freeswitch/trunk/src/include/switch_rtp.h (original)
+++ freeswitch/trunk/src/include/switch_rtp.h Thu Nov 13 15:47:45 2008
@@ -252,7 +252,7 @@
\param rtp_session the RTP session to set the samples per interval on
\param samples_per_interval the new default samples per interval
*/
-SWITCH_DECLARE(void) switch_rtp_set_default_samples_per_interval(switch_rtp_t *rtp_session, uint16_t samples_per_interval);
+SWITCH_DECLARE(void) switch_rtp_set_default_samples_per_interval(switch_rtp_t *rtp_session, uint32_t samples_per_interval);
/*!
\brief Get the default samples per interval for a given RTP session
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Thu Nov 13 15:47:45 2008
@@ -1565,6 +1565,7 @@
}
if (switch_rtp_ready(tech_pvt->rtp_session)) {
+ switch_assert(tech_pvt->read_codec.implementation);
switch_rtp_set_default_samples_per_interval(tech_pvt->rtp_session, tech_pvt->read_codec.implementation->samples_per_packet);
}
Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c (original)
+++ freeswitch/trunk/src/switch_rtp.c Thu Nov 13 15:47:45 2008
@@ -1112,7 +1112,7 @@
return rtp_session->sock_input;
}
-SWITCH_DECLARE(void) switch_rtp_set_default_samples_per_interval(switch_rtp_t *rtp_session, uint16_t samples_per_interval)
+SWITCH_DECLARE(void) switch_rtp_set_default_samples_per_interval(switch_rtp_t *rtp_session, uint32_t samples_per_interval)
{
rtp_session->samples_per_interval = samples_per_interval;
}
More information about the Freeswitch-svn
mailing list