New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

audio-devices

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-devices

set/get audio devices on Windows

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

audio-devices

get and set the current audio device on windows.

Build status codecov

Installing

$ npm install audio-devices --save

Features

  • Set the current audio device
  • Get a list of all audio devices(WIP!)

Example Usage

Set the current device to "Speakers"

const audioDevices = require('audio-devices');

audioDevices.setDevice('Speakers')
.then(() => {
  console.log('done!')
})
.catch((err) => {
  console.log('error', error)
})

ToDo

  • Add CLI
  • Find alternative to nircmd for getting audio devices

Known issues

  • Getting the list of audio devices opens a popup and isn't readable

Keywords

audio

FAQs

Package last updated on 07 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts