hammerspoon2-docs
    Preparing search index...

    Type Alias HSAudioDevicePropertyEvent

    HSAudioDevicePropertyEvent:
        | "vmout"
        | "vmin"
        | "mout"
        | "min"
        | "rate"
        | "dsout"
        | "dsin"
        | "balance"
        | "inUse"
        | "jack"
        | "config"

    An event name for HSAudioDevice.on(), HSAudioDevice.off() and HSAudioDevice.once()

    • "vmout": The device's output volume changed
    • "vmin": The device's input volume changed
    • "mout": The device's output was muted or unmuted
    • "min": The device's input was muted or unmuted
    • "rate": The device's sample rate changed
    • "dsout": The device's output data source changed
    • "dsin": The device's input data source changed
    • "balance": The device's output stereo balance changed
    • "inUse": The device started or stopped being used by any process
    • "jack": A jack (e.g. headphones) was connected to or disconnected from the device
    • "config": The device's configuration changed (e.g. its streams or channel layout)