fix resampling issues (add to 1.0 branch)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11090 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-01-08 01:42:09 +00:00
1 parent c84bae29aa
commit e6302e9407
2 files changed
+20 -8

No files matched your search

+1 -1
View File
@@ -237,7 +237,7 @@ static switch_status_t sndfile_file_read(switch_file_handle_t *handle, void *dat
handle->sample_count += *len;
return SWITCH_STATUS_SUCCESS;
return *len ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_FALSE;
}
static switch_status_t sndfile_file_write(switch_file_handle_t *handle, void *data, size_t *len)