Skip to content

Commit

Permalink
Merge pull request #1 from DATADEER/master
Browse files Browse the repository at this point in the history
Added macOS support
  • Loading branch information
131 committed Aug 19, 2017
2 parents d1dafe0 + b6f890e commit 7bd5701
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 7bd5701

Please sign in to comment.