diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-11-15 00:32:20 +0100 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-11-15 00:32:20 +0100 |
| commit | 8b942cffeb81dbf068dbe7c76584bf68e74e7f17 (patch) | |
| tree | 74bd9f584626d9280af02a2c8ac913e9a3a2b1e1 /mumd/src/audio.rs | |
| parent | 7391abb102cd9724e0cc2d843ccbcaa3b74a42c7 (diff) | |
| download | mum-8b942cffeb81dbf068dbe7c76584bf68e74e7f17.tar.gz | |
refactor of parsing user state
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<_>>(), |
