Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 1.87 KB

hs.audiodevice.datasource.md

File metadata and controls

32 lines (24 loc) · 1.87 KB

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

API Overview

  • Methods - API calls which can only be made on an object returned by a constructor
  • name
  • setDefault

API Documentation

Methods

Signature hs.audiodevice.datasource:name() -> string
Type Method
Description Gets the name of an audio device datasource
Parameters
  • None
Returns
  • A string containing the name of the datasource
Signature hs.audiodevice.datasource:setDefault() -> hs.audiodevice.datasource
Type Method
Description Sets the audio device datasource as the default
Parameters
  • None
Returns
  • The hs.audiodevice.datasource object