fix tones stuff on 64bit

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5378 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-06-16 00:21:01 +00:00
parent 7e759cd2a5
commit 8f6e8d6e65
3 changed files with 24 additions and 35 deletions

View File

@@ -503,7 +503,7 @@ static switch_bool_t fax_detect_callback(switch_media_bug_t *bug, void *user_dat
if(teletone_multi_tone_detect(&pvt->mt, frame.data, frame.samples)) {
switch_event_t *event;
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "FAX CNG DETECTED\n");
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "FAX CNG DETECTED\n");
if (switch_event_create(&event, SWITCH_EVENT_DETECTED_FAX) == SWITCH_STATUS_SUCCESS) {
switch_event_t *dup;