mirror of
https://github.com/RustAudio/rodio
synced 2024-12-12 13:12:30 +00:00
Reduce number of assertions
This commit is contained in:
parent
e983383a7f
commit
de29cb3925
1 changed files with 0 additions and 3 deletions
|
@ -51,11 +51,8 @@ where
|
|||
let to = to.0;
|
||||
|
||||
assert!(num_channels >= 1);
|
||||
assert!(num_channels <= 128);
|
||||
assert!(from >= 1);
|
||||
assert!(from <= 500_000);
|
||||
assert!(to >= 1);
|
||||
assert!(to <= 500_000);
|
||||
|
||||
// finding the greatest common divisor
|
||||
let gcd = {
|
||||
|
|
Loading…
Reference in a new issue