From 5460efa78ec795905c3ac4a5db976ed14992c687 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 6 May 2009 17:34:29 +0000 Subject: [PATCH] remove unused code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13243 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_file.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/switch_core_file.c b/src/switch_core_file.c index cf9cb3e5a8..fbbbe873d6 100644 --- a/src/switch_core_file.c +++ b/src/switch_core_file.c @@ -122,12 +122,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file, } } - if (0 && fh->pre_buffer_datalen) { - //switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Prebuffering %d bytes\n", (int)fh->pre_buffer_datalen); - switch_buffer_create_dynamic(&fh->pre_buffer, fh->pre_buffer_datalen * fh->channels, fh->pre_buffer_datalen * fh->channels / 2, 0); - fh->pre_buffer_data = switch_core_alloc(fh->memory_pool, fh->pre_buffer_datalen * fh->channels); - } - if (fh->channels > 1 && (flags & SWITCH_FILE_FLAG_READ)) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "File has %d channels, muxing to mono will occur.\n", fh->channels); }