Skip to content

Commit

Permalink
fix: print wav decoder errors to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
roderickvd committed Jan 20, 2025
1 parent 54bb434 commit 9861056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decoder/wav.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ where
#[cfg(feature = "tracing")]
tracing::error!("Unsupported WAV float bit depth: {}", bits);
#[cfg(not(feature = "tracing"))]
println!("Unsupported WAV float bit depth: {}", bits);
eprintln!("Unsupported WAV float bit depth: {}", bits);
None
}
}
Expand Down Expand Up @@ -136,7 +136,7 @@ where
#[cfg(feature = "tracing")]
tracing::error!("Unsupported WAV integer bit depth: {}", bits);
#[cfg(not(feature = "tracing"))]
println!("Unsupported WAV integer bit depth: {}", bits);
eprintln!("Unsupported WAV integer bit depth: {}", bits);
None
}
}
Expand Down

0 comments on commit 9861056

Please sign in to comment.