s->wpid, audio_formats[s->format], slot_num);
kill(s->wpid, SIGTERM);
s->wkilled = 1;
- s->fci->error = 1;
}
static void set_restart_barrier(int format, struct timeval *now)
return;
if (!s->fci)
return;
- if (!rn->eof && !s->fci->error && s->wpid > 0)
+ if (!rn->eof && !s->fc->eof && s->wpid > 0)
return;
- if (!s->fci->error && s->wpid > 0) { /* eof */
+ if (!s->fci->eof && s->wpid > 0) { /* eof */
if (filter_io(s->fci) > 0)
return;
if (get_loaded_bytes(slot_num))
return;
}
if (s->write_fd > 0) {
- PARA_INFO_LOG("err: %d\n", s->fci->error);
PARA_INFO_LOG("slot %d: closing write fd %d\n", slot_num,
s->write_fd);
close(s->write_fd);