Watch for system level audio hardware events
| 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:
|
| Signature | hs.audiodevice.watcher.start() |
|---|---|
| Type | Function |
| Description | Starts the audio device watcher Parameters:
Returns:
|
| Signature | hs.audiodevice.watcher.stop() -> hs.audiodevice.watcher |
|---|---|
| Type | Function |
| Description | Stops the audio device watcher Parameters:
Returns:
|