mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-20 16:28:32 +00:00
add append and truncate to audio file api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15503 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
5d55996fa0
commit
9cf0d7f846
13 files changed
+115
-10
No files matched your search
@@ -1275,6 +1275,8 @@ SWITCH_DECLARE(switch_status_t) CoreSession::process_callback_result(char *resul
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
} else if (!strcasecmp(result, "stop")) {
|
||||
return SWITCH_STATUS_FALSE;
|
||||
} else if (!strcasecmp(result, "truncate")) {
|
||||
switch_core_file_truncate(fhp, 0);
|
||||
} else if (!strcasecmp(result, "restart")) {
|
||||
unsigned int pos = 0;
|
||||
fhp->speed = 0;
|
||||
|
||||
Reference in new issue
Block a user