README

Milky2018/moon_cpal/wasapi does not have a README file

#
Device

pub struct Device {
id : String
} derive(Eq,
Debug
)

impl Show for Device

#
Device::build_loopback_input_stream

Build a loopback capture stream (Windows-only).

This captures audio from the default render (output) endpoint using WASAPI loopback mode. It is primarily used by CI smoke tests to validate the input pipeline when no capture devices exist on the machine.

#
Device::name

fn Device::name(_self : Device) -> String

#
Device::supported_input_configs

#
Device::supported_output_configs

#
Device::supports_input

fn Device::supports_input(_self : Device) -> Bool

#
Device::supports_output

fn Device::supports_output(_self : Device) -> Bool

#
Host

pub struct Host {
_unit : Unit
} derive(Eq,
Debug
)

impl Show for Host

#
Host::default_input_device

fn Host::default_input_device(_self : Host) -> Device?

#
Host::default_output_device

fn Host::default_output_device(_self : Host) -> Device?

#
Host::devices

fn Host::devices(_self : Host) -> Array[Device]

#
Host::is_available

fn Host::is_available(_self : Host) -> Bool

#
Stream

pub struct Stream {
kind : StreamKind
handle : UInt64
owner : StreamOwner
}

impl Eq for Stream
impl Show for Stream

#
Stream::close

fn Stream::close(self : Stream) -> Unit

#
StreamKind

pub enum StreamKind {
Output
Input
} derive(Eq,
Debug
)

impl Show for StreamKind

#
StreamOwner

type StreamOwner

#
data_flow_tag

fn data_flow_tag(id : String) -> Int?

#
default_config_ex_u32

fn default_config_ex_u32(id : String, is_input : Bool) -> (UInt, UInt, UInt, UInt, UInt)?

#
default_config_u32

fn default_config_u32(id : String, is_input : Bool) -> (UInt, UInt, UInt)?

#
default_device_id_utf8

fn default_device_id_utf8(is_input : Bool) -> String?

#
default_host

fn default_host() -> Host

#
device_form_factor_u32

fn device_form_factor_u32(id : String) -> UInt?

#
device_name_utf8

fn device_name_utf8(id : String) -> String?

#
device_property_utf8

fn device_property_utf8(id : String, prop_tag : Int) -> String?

#
devices_utf8

fn devices_utf8() -> Bytes

#
supported_configs_u32

fn supported_configs_u32(id : String, is_input : Bool) -> (Int, FixedArray[UInt])?

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io