soundsense-rs icon indicating copy to clipboard operation
soundsense-rs copied to clipboard

Can't start when headphones are connected

Open alextes opened this issue 3 years ago • 2 comments

here's the output:

❯ ./soundsense-rs-v1.5.1-travis-osx
thread 'sound_thread' panicked at 'No device name: BackendSpecific { err: BackendSpecificError { description: "core foundation unexpectedly returned null string" } }', src/libcore/result.rs:1188:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[1]    9850 abort      ./soundsense-rs-v1.5.1-travis-osx

This is with Apple Airpod Max headphones. Thanks for a great alternative to the Java one!

alextes avatar Oct 14 '21 09:10 alextes

Hello, I would like to add one more weird behavior that could be related to it as well. Weirdly enough, on macOS 11.5.2, I can't redirect the output to any external device, like a Bluetooth one, if I changed it after the app is already running (because it won't start in any other device aside the built-in output.)

matheusfaustino avatar Oct 17 '21 15:10 matheusfaustino

It seems that there is an issue in rodio dependency. It was fixed in 0.12, updating rodio to this or higher version might help.

dvor avatar Jan 09 '22 21:01 dvor