mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
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:
1 parent
c84bae29aa
commit
e6302e9407
2 files changed
+20
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user