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

In downscale_audio, mute audio with no samples #533

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

atsampson
Copy link
Collaborator

This avoids a crash from calling nb_mean on an empty array slice.

In adamsampson/Faults/issue509, pila1502-capture3-side1-skip-fail.ldf and pila1504-side2-skip-fail.ldf are two examples that provoke this crash (the second at least appears to be caused by a chip in the disc surface).

This avoids a crash from calling nb_mean on an empty array slice.
@atsampson atsampson added enhancement ld-decode An issue only affecting the ld-decode[r] labels Aug 10, 2020
@happycube happycube merged commit b93364f into happycube:master Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ld-decode An issue only affecting the ld-decode[r]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants