Remove stdweb in favor of js-sys, web-sys, and wasm-bindgen (#713)
This commit is contained in:
parent
0965eadd5e
commit
29999e6857
4 changed files with 147 additions and 97 deletions
|
|
@ -1,8 +1,11 @@
|
|||
use std::{fmt::Display, mem};
|
||||
#[cfg(target_os = "emscripten")]
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
pub use dasp_sample::{FromSample, Sample, I24, I48, U24, U48};
|
||||
|
||||
/// Format that each sample has.
|
||||
#[cfg_attr(target_os = "emscripten", wasm_bindgen)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
#[non_exhaustive]
|
||||
pub enum SampleFormat {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue