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,7 +1,7 @@
use super::alsa;
use super::parking_lot::Mutex;
use super::{Device, DeviceHandles};
use {BackendSpecificError, DevicesError};
use crate::{BackendSpecificError, DevicesError};
/// ALSA's implementation for `Devices`.
pub struct Devices {

View file

@ -4,6 +4,7 @@ extern crate parking_lot;
use self::alsa::poll::Descriptors;
use self::parking_lot::Mutex;
use crate::traits::{DeviceTrait, HostTrait, StreamTrait};
use crate::{
BackendSpecificError, BufferSize, BuildStreamError, ChannelCount, Data,
DefaultStreamConfigError, DeviceNameError, DevicesError, InputCallbackInfo, OutputCallbackInfo,
@ -16,7 +17,6 @@ use std::convert::TryInto;
use std::sync::Arc;
use std::thread::{self, JoinHandle};
use std::vec::IntoIter as VecIntoIter;
use traits::{DeviceTrait, HostTrait, StreamTrait};
pub use self::enumerate::{default_input_device, default_output_device, Devices};