Minimize compiler flags by using nested platform_impl mods
Also addresses some other CI errors: - Add Host::new constructor for null backend - Add missing DevicesError import to coreaudio backend
This commit is contained in:
parent
f7cf0c65b8
commit
6e9b40e225
3 changed files with 49 additions and 23 deletions
|
|
@ -31,6 +31,12 @@ pub struct StreamId;
|
|||
pub struct SupportedInputFormats;
|
||||
pub struct SupportedOutputFormats;
|
||||
|
||||
impl Host {
|
||||
pub fn new() -> Result<Self, crate::HostUnavailable> {
|
||||
Ok(Host)
|
||||
}
|
||||
}
|
||||
|
||||
impl Devices {
|
||||
pub fn new() -> Result<Self, DevicesError> {
|
||||
Ok(Devices)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue