Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set Progress

  • Loading branch information...
commit b85853c27b48f3f150f75401bb780ad1c3fd49ea 1 parent 990d1ec
@ismell authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 decoder.js
View
4 decoder.js
@@ -344,10 +344,12 @@ function draw_bits(channel, sample) {
function next_sdcka() {
sdcka_t = trs_get_next(ch_sdcka);
+ set_progress(100*sdcka_t.sample/n_samples);
}
function next_sdckb() {
sdckb_t = trs_get_next(ch_sdckb);
+ set_progress(100*sdckb_t.sample/n_samples);
}
function negative_transitions_before(channel, sample) {
@@ -582,7 +584,7 @@ function lable_start_frame(start_sample, end_sample, count) {
}
function lable_end_frame(start_sample, end_sample, count) {
- debug("Found end frame at: [" + start_sample + ", " + end_sample + "] with count: " + count);
+ //debug("Found end frame at: [" + start_sample + ", " + end_sample + "] with count: " + count);
dec_item_new(ch_sdcka, start_sample, end_sample);
if (count == 2) {
Please sign in to comment.
Something went wrong with that request. Please try again.