Skip to content

Commit

Permalink
Adds encoding info to builder debug msg
Browse files Browse the repository at this point in the history
  • Loading branch information
cryo authored and jlashner committed Nov 5, 2021
1 parent 9922f58 commit 6a254d0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/SmurfBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,17 @@ G3FramePtr SmurfBuilder::FrameFromSamples(
printf(" - Copy Time: %ld ms\n", (frame_start - copy_start).count()/1000000);
printf(" - Frame Time: %ld ms\n", (stop_time - frame_start).count()/1000000);
printf("%lu elements in queue...\n", queue_.size());
printf(
"Encoding Options:\n"
" - enabled: %d\n"
" - data_algo: %d\n"
" - primary_algo: %d\n"
" - tes_algo: %d\n"
" - flac_level: %d\n"
" - BZ2_WorkFactor: %d\n",
enable_compression_, data_encode_algo_, primary_encode_algo_,
time_encode_algo_, flac_level_, bz2_work_factor_
);
}

return frame;
Expand Down

0 comments on commit 6a254d0

Please sign in to comment.