diff --git a/.github/workflows/cpal.yml b/.github/workflows/cpal.yml index b2f8e85..8b23ef9 100644 --- a/.github/workflows/cpal.yml +++ b/.github/workflows/cpal.yml @@ -127,6 +127,25 @@ jobs: - name: Build beep example run: cargo build --example beep --target ${{ matrix.target }} --features=wasm-bindgen + wasm32-wasi-test: + + strategy: + matrix: + target: [wasm32-wasi] + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Install stable + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + target: ${{ matrix.target }} + - name: Build beep example + run: cargo build --example beep --target ${{ matrix.target }} + windows-test: strategy: matrix: diff --git a/src/platform/mod.rs b/src/platform/mod.rs index 033c91e..6cc4171 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -1,7 +1,7 @@ //! Platform-specific items. //! //! This module also contains the implementation of the platform's dynamically dispatched `Host` -//! type and its associated `EventLoop`, `Device`, `StreamId` and other associated types. These +//! type and its associated `Device`, `StreamId` and other associated types. These //! types are useful in the case that users require switching between audio host APIs at runtime. #[doc(inline)] @@ -27,7 +27,7 @@ pub use self::platform_impl::*; // } // ``` // -// And so on for Device, Devices, EventLoop, Host, StreamId, SupportedInputConfigs, +// And so on for Device, Devices, Host, StreamId, SupportedInputConfigs, // SupportedOutputConfigs and all their necessary trait implementations. // ``` macro_rules! impl_platform_host { @@ -558,8 +558,8 @@ mod platform_impl { )))] mod platform_impl { pub use crate::host::null::{ - Device as NullDevice, Devices as NullDevices, EventLoop as NullEventLoop, Host as NullHost, - StreamId as NullStreamId, SupportedInputConfigs as NullSupportedInputConfigs, + Device as NullDevice, Devices as NullDevices, Host as NullHost, + SupportedInputConfigs as NullSupportedInputConfigs, SupportedOutputConfigs as NullSupportedOutputConfigs, };