ollej / rusty-slider

A small tool to display markdown files as a slideshow written in Rust.
MIT License
64 stars 5 forks source link

Panic on start due to no sound device #5

Closed kvark closed 2 years ago

kvark commented 2 years ago
ALSA lib pcm.c:2576:(snd_pcm_open_conf) Unknown field libs
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NoDevice', /home/kvark/.cargo/registry/src/github.com-1ecc6299db9ec823/macroquad-0.3.6/src/audio/native_snd.rs:12:61
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Seems quite silly to fail here because I didn't even expect sounds to be involved in my presentation :)

ollej commented 2 years ago

I have no idea why it tries to open a sound device. There shouldn't be any sounds in the application.

Is this on Linux? I'll have to investigate a bit to see if I can replicate it.

ollej commented 2 years ago

149844c0c02d6a8de6a218b7121de972b390a6a7 disables the Macroquad audio feature, so I hope this fixes the issue. It is in the v0.13.0 release.

kvark commented 2 years ago

Will reopen if it happens still. Thank you!