mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 06:18:35 +00:00
Merge pull request #255 from dragos-oancea/mux_overflow_file_read
[mod_native_file] don't channel mux during native file play (and avoid overflow too).
This commit is contained in:
1 file changed
+1
@@ -97,6 +97,7 @@ static switch_status_t native_file_file_open(switch_file_handle_t *handle, const
|
|||||||
handle->speed = 0;
|
handle->speed = 0;
|
||||||
handle->private_info = context;
|
handle->private_info = context;
|
||||||
handle->flags |= SWITCH_FILE_NATIVE;
|
handle->flags |= SWITCH_FILE_NATIVE;
|
||||||
|
handle->flags |= SWITCH_FILE_NOMUX;
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Opening File [%s] %dhz\n", path, handle->samplerate);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Opening File [%s] %dhz\n", path, handle->samplerate);
|
||||||
|
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
|
|||||||
Reference in new issue
Block a user