Inspect/manipulate the data sources of an audio device
Note: These objects are obtained from the methods on an hs.audiodevice
object
Signature | hs.audiodevice.datasource:name() -> string |
---|---|
Type | Method |
Description |
Gets the name of an audio device datasource |
Parameters |
|
Returns |
|
Source | extensions/audiodevice/libaudiodevice.m line 1806 |
Signature | hs.audiodevice.datasource:setDefault() -> hs.audiodevice.datasource |
---|---|
Type | Method |
Description |
Sets the audio device datasource as the default |
Parameters |
|
Returns |
|
Source | extensions/audiodevice/libaudiodevice.m line 1827 |
© 2014–2017 Hammerspoon contributors
Licensed under the MIT License.
https://www.hammerspoon.org/docs/hs.audiodevice.datasource.html