Skip to main content

Crate pd200x

Crate pd200x 

Source
Expand description

§pd200x

Rust driver for the PD200X USB microphone (VID 0x352F, PID 0x0104).

§Usage

use pd200x::PD200X;

fn main() -> pd200x::Result<()> {
    let mic = PD200X::open()?;

    mic.set_mic_gain(80)?;
    mic.set_mic_monitor(true)?;
    Ok(())
}

§Linux USB permissions

Copy 99-pd200x.rules to /etc/udev/rules.d/ and reload udev so the device is accessible without root:

sudo cp 99-pd200x.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && sudo udevadm trigger

Modules§

presets
Official EQ presets from the MAONO Link app, reverse-engineered from USB captures.

Structs§

EqBandParams
Parameters for a single EQ band.
PD200X
Handle to an open PD200X microphone.

Enums§

EqBand
Selects one of the seven parametric EQ bands.
Error
Errors returned by all PD200X operations.
FilterType
EQ filter shape.
RgbColor
RGB LED colour preset.

Type Aliases§

Result