docs » hs.audiodevice.datasource
Inspect/manipulate the data sources of an audio device
Note: These objects are obtained from the methods on an hs.audiodevice
object
- Methods - API calls which can only be made on an object returned by a constructor
- name
- setDefault
Signature | hs.audiodevice.datasource:name() -> string |
---|---|
Type | Method |
Description | Gets the name of an audio device datasource |
Parameters |
|
Returns |
|
Signature | hs.audiodevice.datasource:setDefault() -> hs.audiodevice.datasource |
---|---|
Type | Method |
Description | Sets the audio device datasource as the default |
Parameters |
|
Returns |
|