#![doc(
html_logo_url = "https://libcala.github.io/logo.svg",
html_favicon_url = "https://libcala.github.io/icon.svg",
html_root_url = "https://docs.rs/wavy"
)]
#![deny(unsafe_code)]
#![warn(
anonymous_parameters,
missing_copy_implementations,
missing_debug_implementations,
missing_docs,
nonstandard_style,
rust_2018_idioms,
single_use_lifetimes,
trivial_casts,
trivial_numeric_casts,
unreachable_pub,
unused_extern_crates,
unused_qualifications,
variant_size_differences
)]
#[cfg_attr(target_arch = "wasm32", path = "ffi/wasm/ffi.rs")]
#[cfg_attr(
not(target_arch = "wasm32"),
cfg_attr(target_os = "linux", path = "ffi/linux/ffi.rs"),
cfg_attr(target_os = "android", path = "ffi/android/ffi.rs"),
cfg_attr(target_os = "macos", path = "ffi/macos/ffi.rs"),
cfg_attr(target_os = "ios", path = "ffi/ios/ffi.rs"),
cfg_attr(target_os = "windows", path = "ffi/windows/ffi.rs"),
cfg_attr(
any(
target_os = "freebsd",
target_os = "dragonfly",
target_os = "bitrig",
target_os = "openbsd",
target_os = "netbsd"
),
path = "ffi/bsd/ffi.rs"
),
cfg_attr(target_os = "fuchsia", path = "ffi/fuchsia/ffi.rs"),
cfg_attr(target_os = "redox", path = "ffi/redox/ffi.rs"),
cfg_attr(target_os = "none", path = "ffi/none/ffi.rs"),
cfg_attr(target_os = "dummy", path = "ffi/dummy/ffi.rs")
)]
mod ffi;
mod consts;
mod microphone;
mod speakers;
pub use microphone::{Microphone, MicrophoneStream};
pub use speakers::{Speakers, SpeakersSink};