Merge pull request #1425 in FS/freeswitch from ~HARI/freeswitch:bugfix/FS-10720-playback_stop-event-not-sent-in to master
* commit '6e661cc2a3229cb9411676b7fcc42e2a7774d008': FS-10720: [core] exit playback when eof reached and speed is set #resolve
This commit is contained in:
commit
159cc300f8
|
@ -1682,9 +1682,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
|
|||
} else if (fh->sp_audio_buffer && (eof || (switch_buffer_inuse(fh->sp_audio_buffer) > (switch_size_t) (framelen)))) {
|
||||
if (!(bread = switch_buffer_read(fh->sp_audio_buffer, abuf, framelen))) {
|
||||
if (eof) {
|
||||
continue;
|
||||
} else {
|
||||
break;
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue