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

Fixes #8 #28

Closed
wants to merge 1 commit into from
Closed

Fixes #8 #28

wants to merge 1 commit into from

Conversation

freund17
Copy link

added addional args to work with sox. (may no longer work with rec - needs to be testet)
made use of the silence-extention optional
added option to return raw pcm-data instead of wav
changed stdout-encoding to binary (pretty sure it is utf-8 by default)

added addional args to work with sox. (may no longer work with rec - needs to be testet)
made use of the silence-extention optional
added option to return raw pcm-data instead of wav
changed stdout-encoding to binary (pretty sure it is utf-8 by default)
@freund17 freund17 mentioned this pull request Apr 13, 2017
@gillesdemey gillesdemey changed the title Fixes https://github.com/gillesdemey/node-record-lpcm16/issues/8 Fixes #8 Apr 14, 2017
@@ -67,6 +76,7 @@ exports.start = function (options) {
}
cp = spawn(cmd, cmdArgs, cmdOptions)
var rec = cp.stdout
rec.setEncoding('binary');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gave me an encoding error. I removed this line and it worked for me.

@gillesdemey
Copy link
Owner

Closing in favor of #39

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

Successfully merging this pull request may close these issues.

3 participants