Rust 2021 and clap 3.0

This commit is contained in:
Rémi Lauzier 2022-02-18 03:07:04 -05:00
parent 682508405a
commit 8b99fce094
No known key found for this signature in database
GPG key ID: D4B9ECD143336C1D
16 changed files with 21 additions and 20 deletions

View file

@ -21,7 +21,7 @@ trait Silence {
/// Constraints on the ASIO sample types.
trait AsioSample: Clone + Copy + Silence + std::ops::Add<Self, Output = Self> {
fn to_cpal_sample<T: Sample>(&self) -> T;
fn from_cpal_sample<T: Sample>(&T) -> Self;
fn from_cpal_sample<T: Sample>(_: &T) -> Self;
}
// Used to keep track of whether or not the current asio stream buffer requires