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

@ -1,3 +1,4 @@
use crate::traits::DeviceTrait;
use crate::{
BackendSpecificError, BuildStreamError, Data, DefaultStreamConfigError, DeviceNameError,
InputCallbackInfo, OutputCallbackInfo, SampleFormat, SampleRate, StreamConfig, StreamError,
@ -5,7 +6,6 @@ use crate::{
SupportedStreamConfigsError,
};
use std::hash::{Hash, Hasher};
use traits::DeviceTrait;
use super::stream::Stream;
use super::JACK_SAMPLE_FORMAT;

View file

@ -1,7 +1,7 @@
extern crate jack;
use crate::traits::HostTrait;
use crate::{DevicesError, SampleFormat, SupportedStreamConfigRange};
use traits::HostTrait;
mod device;
pub use self::device::Device;

View file

@ -1,7 +1,7 @@
use crate::traits::StreamTrait;
use crate::ChannelCount;
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::{Arc, Mutex};
use traits::StreamTrait;
use crate::{
BackendSpecificError, Data, InputCallbackInfo, OutputCallbackInfo, PauseStreamError,