Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Pouya Rostam committed Sep 13, 2023
1 parent ad754fb commit 32dd49e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions demo/c/falcon_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,15 @@ int picovoice_main(int argc, char **argv) {
((double)(after.tv_usec - before.tv_usec)) * 1e-6);

for (int32_t j = 0; j < num_segments; j++) {
pv_segment_t *segment = &segments[i];
fprintf(stdout,
"Speaker: %d -> Start: %5.2f, End: %5.2f\n",
segments[j]->speaker_tag,
segments[j]->start_sec,
segments[j]->end_sec);
segment->speaker_tag,
segment->start_sec,
segment->end_sec);
}
pv_falcon_segments_delete_func(segments);
}
pv_falcon_segments_delete_func(segments);

fprintf(stdout, "proc took %.2f sec\n", proc_sec);

Expand Down

0 comments on commit 32dd49e

Please sign in to comment.