Skip to content

Commit

Permalink
Update mio/process/frame_helper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sasatani authored Jan 18, 2025
1 parent 3c705de commit 80da61a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mio/process/frame_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,6 @@ def _detect_with_mean_error(
f"Actual total splits in current: {len(split_current)}, previous: {len(split_previous)}"
)

# buffer_split (splitting each block in smaller segments) cannot be greater than
# number of buffers in a frame
if config.buffer_split > len(split_current):
logger.warning(
f"buffer_split ({config.buffer_split}) exceeds total splits "
f"({len(split_current)}). Adjusting to {len(split_current)}."
)
config.buffer_split = len(split_current)

# Iterate over buffers and split sections
logger.debug(
Expand Down

0 comments on commit 80da61a

Please sign in to comment.