From 99703a268ff409755b1ec3004fcb1352863a2f40 Mon Sep 17 00:00:00 2001 From: Will Stott Date: Sun, 17 Mar 2019 15:30:32 +0000 Subject: [PATCH] Warn when there's a Rodio failure accessing a default device formats. --- playback/src/audio_backend/rodio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playback/src/audio_backend/rodio.rs b/playback/src/audio_backend/rodio.rs index 674a6f7f..c4b9c927 100644 --- a/playback/src/audio_backend/rodio.rs +++ b/playback/src/audio_backend/rodio.rs @@ -12,7 +12,7 @@ fn list_formats(ref device: &rodio::Device) { let default_fmt = match device.default_output_format() { Ok(fmt) => cpal::SupportedFormat::from(fmt), Err(e) => { - info!("Error getting default rodio::Sink format: {:?}", e); + warn!("Error getting default rodio::Sink format: {:?}", e); return; }, }; @@ -20,7 +20,7 @@ fn list_formats(ref device: &rodio::Device) { let mut output_formats = match device.supported_output_formats() { Ok(f) => f.peekable(), Err(e) => { - info!("Error getting supported rodio::Sink formats: {:?}", e); + warn!("Error getting supported rodio::Sink formats: {:?}", e); return; }, };