mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 10:19:27 +02:00
Warn about broken backends
This commit is contained in:
parent
cc60dc11dc
commit
d252eeedc5
2 changed files with 4 additions and 2 deletions
|
@ -55,6 +55,9 @@ impl<'a> Open for PortAudioSink<'a> {
|
|||
fn open(device: Option<String>, format: AudioFormat) -> PortAudioSink<'a> {
|
||||
info!("Using PortAudio sink with format: {:?}", format);
|
||||
|
||||
warn!("This backend is known to panic on several platforms.");
|
||||
warn!("Consider using some other backend, or better yet, contributing a fix.");
|
||||
|
||||
portaudio_rs::initialize().unwrap();
|
||||
|
||||
let device_idx = match device.as_ref().map(AsRef::as_ref) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue