mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
formats cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7384 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
ab3b855841
commit
4156b6c88f
4 files changed
+4
-46
No files matched your search
@@ -69,8 +69,6 @@ static switch_status_t native_file_file_open(switch_file_handle_t *handle, const
|
||||
return SWITCH_STATUS_GENERR;
|
||||
}
|
||||
|
||||
|
||||
|
||||
handle->samples = 0;
|
||||
handle->samplerate = 8000;
|
||||
handle->channels = 1;
|
||||
@@ -82,7 +80,6 @@ static switch_status_t native_file_file_open(switch_file_handle_t *handle, const
|
||||
handle->flags |= SWITCH_FILE_NATIVE;
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Opening File [%s] %dhz\n", path, handle->samplerate);
|
||||
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -105,7 +102,6 @@ static switch_status_t native_file_file_seek(switch_file_handle_t *handle, unsig
|
||||
switch_file_seek(context->fd, whence, &samples);
|
||||
|
||||
return SWITCH_STATUS_FALSE;
|
||||
|
||||
}
|
||||
|
||||
static switch_status_t native_file_file_read(switch_file_handle_t *handle, void *data, size_t *len)
|
||||
@@ -138,7 +134,6 @@ static switch_status_t native_file_file_get_string(switch_file_handle_t *handle,
|
||||
|
||||
static char *supported_formats[SWITCH_MAX_CODECS] = { 0 };
|
||||
|
||||
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_native_file_load)
|
||||
{
|
||||
switch_file_interface_t *file_interface;
|
||||
|
||||
Reference in new issue
Block a user