diff options
Diffstat (limited to 'mumd/src/audio.rs')
| -rw-r--r-- | mumd/src/audio.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mumd/src/audio.rs b/mumd/src/audio.rs index 65da656..53ec2d4 100644 --- a/mumd/src/audio.rs +++ b/mumd/src/audio.rs @@ -188,7 +188,6 @@ impl Audio { .map(|(path, event)| { let reader = hound::WavReader::open(path).unwrap(); let spec = reader.spec(); - debug!("{:?}", spec); let samples = match spec.sample_format { hound::SampleFormat::Float => reader.into_samples::<f32>().map(|e| e.unwrap()).collect::<Vec<_>>(), hound::SampleFormat::Int => reader.into_samples::<i16>().map(|e| cpal::Sample::to_f32(&e.unwrap())).collect::<Vec<_>>(), |
