Skip to content

Get audio capture and render devices for Windows 7 and superior

License

Notifications You must be signed in to change notification settings

GamesDoneQuick/windows-audio-devices

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windows-audio-devices

On Windows 7 and superior, get a native alternative to navigator.mediaDevices.enumerateDevices() to get audio capture and render devices.

npm install windows-audio-devices
const { getAudioDevices } = require('windows-audio-devices')
const audioDevicesArray = getAudioDevices()

Returns an array of objects structured as below:

{
  "kind": "'audioinput' or 'audioutput'"
  "device": "Complete device name",
  "friendly": "Shortened friendly name for display",
  "default": "Boolean representing default system choice"
}

License

MIT, please see LICENSE for details. Copyright (c) Aircall.io

About

Get audio capture and render devices for Windows 7 and superior

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.8%
  • Python 3.1%
  • JavaScript 2.1%