git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9889 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-10-08 01:25:30 +00:00
parent cd20278efb
commit 544254bf8c
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ SWITCH_STANDARD_API(eval_function)
switch_core_session_rwunlock(session);
}
}
printf("WTF [%s\n", input);
expanded = switch_event_expand_headers(event, input);
stream->write_function(stream, "%s", expanded);

View File

@ -126,7 +126,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
if (session->read_codec && session->track_duration) {
if (session->read_frame_count == 0) {
switch_event_t *event;
session->read_frame_count = (session->read_codec->implementation->samples_per_second /
session->read_frame_count = (session->read_codec->implementation->actual_samples_per_second /
session->read_codec->implementation->samples_per_frame) * session->track_duration;
switch_event_create(&event, SWITCH_EVENT_SESSION_HEARTBEAT);