Rust 2021 and clap 3.0
This commit is contained in:
parent
682508405a
commit
8b99fce094
16 changed files with 21 additions and 20 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue