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

Mono 44.1 kHz 24 bit wav refuses to load. #55

Open
pietervandermeer opened this issue Apr 2, 2022 · 1 comment
Open

Mono 44.1 kHz 24 bit wav refuses to load. #55

pietervandermeer opened this issue Apr 2, 2022 · 1 comment

Comments

@pietervandermeer
Copy link

pietervandermeer commented Apr 2, 2022

Hound v3.4.0

Running the tool soxi on the wav:

Input File     : '/media/internal/70sElRaunchoFusionLead C3.wav'
Channels       : 1
Sample Rate    : 44100
Precision      : 24-bit
Duration       : 00:00:04.89 = 215490 samples = 366.48 CDDA sectors
File Size      : 651k
Bit Rate       : 1.07M
Sample Encoding: 24-bit Signed Integer PCM

Opening this using: let mut reader = hound::WavReader::open(&filename)?; yields:

IoError(Custom { kind: Other, error: "Failed to read enough bytes." })

The crate 'wav' does load this file without problems.

@ruuda
Copy link
Owner

ruuda commented Apr 2, 2022

Are you able to share the file, or better yet, a minimized version of it that still reproduces the problem?

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

No branches or pull requests

2 participants