RustAudio / lewton

Rust vorbis decoder
Other
259 stars 26 forks source link

Error: Could not load alto #77

Open tiborsaas opened 4 years ago

tiborsaas commented 4 years ago

I'm on Windows 10, rustc 1.43.1

Placed a test.ogg in the root folder of this repo I cloned and tried the examples folder, but no luck, got the following error:

Opening file: ./test.ogg
thread 'main' panicked at 'Could not load alto: Io(Os { code: 126, kind: Other, message: "The specified module could not be found." })', examples\player.rs:35:14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\examples\player.exe ./test.ogg` (exit code: 101)
est31 commented 4 years ago

This isn't a bug in lewton but the upstream alto library: https://github.com/jpernst/alto

tiborsaas commented 4 years ago

Okay, I just wanted to let you know that your example isn't working, I haven't changed anything

est31 commented 4 years ago

Thanks for the info. I'm wondering about lightweight replacements for alto.

TonalidadeHidrica commented 3 years ago

How about cpal for a replacement?

est31 commented 3 years ago

@TonalidadeHidrica you have the same bug? If so, we should replace it.

TonalidadeHidrica commented 3 years ago

I'm not (I'm a Mac user). I just suggested a trivial idea.