You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Rust, indexing of arrays and general sizes are typically represented by a usize.
wave_stream currently uses a u32, because the wave header uses u32.
Initially, I believed it was best to keep with the type limitations imposed by the wave format. Instead, I believe it's simpler to keep with Rust semantics for indicating size and location; and have a runtime exception if the wave file is longer than u32::MAX;
The text was updated successfully, but these errors were encountered:
In Rust, indexing of arrays and general sizes are typically represented by a usize.
wave_stream currently uses a u32, because the wave header uses u32.
Initially, I believed it was best to keep with the type limitations imposed by the wave format. Instead, I believe it's simpler to keep with Rust semantics for indicating size and location; and have a runtime exception if the wave file is longer than u32::MAX;
The text was updated successfully, but these errors were encountered: