From f65d0e65bcbbb516d3ef5ea20db57b343423b528 Mon Sep 17 00:00:00 2001 From: Viktor Lazarev Date: Thu, 29 Aug 2019 08:20:53 +0200 Subject: [PATCH] Expose Stream instead of StreamId --- src/host/wasapi/mod.rs | 2 +- src/platform/mod.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/host/wasapi/mod.rs b/src/host/wasapi/mod.rs index cf1e997..ecf7d7a 100644 --- a/src/host/wasapi/mod.rs +++ b/src/host/wasapi/mod.rs @@ -6,7 +6,7 @@ use self::winapi::um::winnt::HRESULT; use std::io::Error as IoError; use traits::{HostTrait}; pub use self::device::{Device, Devices, SupportedInputFormats, SupportedOutputFormats, default_input_device, default_output_device}; -pub use self::stream::{StreamId}; +pub use self::stream::Stream; mod com; mod device; diff --git a/src/platform/mod.rs b/src/platform/mod.rs index c16c9dc..45d91ed 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -468,9 +468,8 @@ mod platform_impl { pub use crate::host::wasapi::{ Device as WasapiDevice, Devices as WasapiDevices, - EventLoop as WasapiEventLoop, + Stream as WasapiStream, Host as WasapiHost, - StreamId as WasapiStreamId, SupportedInputFormats as WasapiSupportedInputFormats, SupportedOutputFormats as WasapiSupportedOutputFormats, };