Skip to content

Commit

Permalink
Added macOs support
Browse files Browse the repository at this point in the history
* added default macOS input/output device to args in order to support mac devices
  • Loading branch information
DATADEER committed Aug 19, 2017
1 parent d1dafe0 commit b6f890e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ var ClapTrigger = new Class({
var args = ({
'Linux' : ['-t', 'alsa', 'hw:1,0'],
'Windows_NT' : ['-t', 'waveaudio', '-d'],
'Darwin' : ['-t', 'coreaudio', 'default']
}) [os.type()];

args.push("-t", "wav", "-n");
Expand Down

0 comments on commit b6f890e

Please sign in to comment.