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 |
|
Source | extensions/audiodevice/libaudiodevice_watcher.m line 198 |
Signature | hs.audiodevice.watcher.setCallback(fn) |
---|---|
Type | Function |
Description | Sets the callback function for the audio device watcher |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/audiodevice/libaudiodevice_watcher.m line 77 |
Signature | hs.audiodevice.watcher.start() |
---|---|
Type | Function |
Description | Starts the audio device watcher |
Parameters |
|
Returns |
|
Source | extensions/audiodevice/libaudiodevice_watcher.m line 128 |
Signature | hs.audiodevice.watcher.stop() -> hs.audiodevice.watcher |
---|---|
Type | Function |
Description | Stops the audio device watcher |
Parameters |
|
Returns |
|
Source | extensions/audiodevice/libaudiodevice_watcher.m line 166 |