const int64_t chunk_end = min(
i + chunk_sample_count, sample_count);
segment_->get_samples(chunk, i, chunk_end);
if (srd_session_send(session, i, chunk_end, chunk,
const int64_t chunk_end = min(
i + chunk_sample_count, sample_count);
segment_->get_samples(chunk, i, chunk_end);
if (srd_session_send(session, i, chunk_end, chunk,