Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't work on mac #2

Open
tjwelde opened this issue Sep 14, 2018 · 0 comments
Open

Won't work on mac #2

tjwelde opened this issue Sep 14, 2018 · 0 comments

Comments

@tjwelde
Copy link

tjwelde commented Sep 14, 2018

Mac uses another audio driver called coreaudio.

This might have to be switched depending on OS. process.platform could be used for that. https://nodejs.org/api/process.html#process_process_platform

In the end the argument alsa for -ao needs to be changed:

let args = ["-ao", "alsa", "-volume", "100", filePath];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant