diff --git a/core/src/sound.rs b/core/src/sound.rs index cc37356..5a792ed 100644 --- a/core/src/sound.rs +++ b/core/src/sound.rs @@ -72,9 +72,12 @@ impl SoundPlayer { .default_output_device() .expect("Failed to get default output audio device."); - audio_device.default_output_config() - .expect("Failed to get default sample format.") - .sample_format() + println!("Default audio device: {}", audio_device.name().expect("Failed to get device name")); + + let config = audio_device.default_output_config().expect("Failed to get default sample format."); + + println!("Default audio config: {:?}", config); + config.sample_format() } pub fn new() -> Self