Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove possible leak in unused code #203

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

BlueAmulet
Copy link
Collaborator

Nothing every actually sets RealtimeVC.split to False so this section of code goes unused, but this piece of code has a potential leak issue. If the audio is quiet enough to be considered silence, it just pumps the original audio through instead of outputting true silence. If this happens to be a silence misdetection then you possible leak the users' original voice.

@codecov-commenter
Copy link

codecov-commenter commented Apr 1, 2023

Codecov Report

Merging #203 (326b45b) into main (1a6c021) will not change coverage.
The diff coverage is 50.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             main     #203   +/-   ##
=======================================
  Coverage   19.93%   19.93%           
=======================================
  Files          38       38           
  Lines        3241     3241           
  Branches      410      410           
=======================================
  Hits          646      646           
  Misses       2579     2579           
  Partials       16       16           
Impacted Files Coverage Δ
src/so_vits_svc_fork/inference/core.py 19.14% <0.00%> (ø)
src/so_vits_svc_fork/__init__.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@34j 34j merged commit e921c3d into voicepaw:main Apr 3, 2023
@BlueAmulet BlueAmulet deleted the fix/unused_leak branch April 13, 2023 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants