watcher

Last updated 22 days ago

Watch for system level audio hardware events

API Overview

API Documentation

Functions

isRunning

Signature

hs.audiodevice.watcher.isRunning() -> boolean

Type

Function

Description

Gets the status of the audio device watcher

Parameters

Returns

Signature

hs.audiodevice.watcher.setCallback(fn)

Type

Function

Description

Sets the callback function for the audio device watcher

Parameters

Returns

Notes

start

Signature

hs.audiodevice.watcher.start()

Type

Function

Description

Starts the audio device watcher

Parameters

Returns

stop

Signature

hs.audiodevice.watcher.stop() -> hs.audiodevice.watcher

Type

Function

Description

Stops the audio device watcher

Parameters

Returns