Skip to content

Commit

Permalink
Merge 44c6c48 into 892362c
Browse files Browse the repository at this point in the history
  • Loading branch information
toots authored Nov 25, 2023
2 parents 892362c + 44c6c48 commit b2df6ca
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Fixed:
- Cleanup telnet commands on output shutdown,
prevent commands registration for internal
outputs (#3545, fixes: #3541)
- Fixed infinite loop on some active sources
(#3544)

---

Expand Down
1 change: 1 addition & 0 deletions src/core/operators/noblank.ml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ class strip ~start_blank ~max_blank ~min_noise ~threshold ~track_sensitive
if self#is_blank then AFrame.set_breaks ab (p0 :: b0)

method private output =
self#has_ticked;
(* We only #get once in memo; this is why we can set_breaks every time in
#get_frame. This behavior makes time flow slower than expected, but
doesn't seem harmful. The advantage of doing this is that if stripping
Expand Down
1 change: 1 addition & 0 deletions src/core/sources/harbor_input.ml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class http_input_server ~pos ~transport ~dumpfile ~logfile ~bufferize ~max ~icy
| None -> "no source client connected"

method private output =
self#has_ticked;
if self#is_ready ~frame:self#memo () && AFrame.is_partial self#memo then
self#get self#memo

Expand Down
1 change: 1 addition & 0 deletions src/core/synth/keyboard.ml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class keyboard =
method self_sync = (`Static, false)

method output =
self#has_ticked;
if self#is_ready ~frame:self#memo () && AFrame.is_partial self#memo then
self#get self#memo

Expand Down
1 change: 1 addition & 0 deletions src/core/synth/keyboard_sdl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class keyboard velocity =
method self_sync = (`Static, false)

method output =
self#has_ticked;
if self#is_ready ~frame:self#memo () && AFrame.is_partial self#memo then
self#get self#memo

Expand Down
1 change: 1 addition & 0 deletions src/core/tools/start_stop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class virtual active_source ?get_clock ~name ~clock_safe
method virtual private memo : Frame.t

method private output =
self#has_ticked;
if self#is_ready ~frame:self#memo () && AFrame.is_partial self#memo then
self#get self#memo
end
Expand Down

0 comments on commit b2df6ca

Please sign in to comment.