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

Playback stops before end #20

Open
Bernardstanislas opened this issue Jun 26, 2014 · 2 comments
Open

Playback stops before end #20

Bernardstanislas opened this issue Jun 26, 2014 · 2 comments
Labels

Comments

@Bernardstanislas
Copy link

Playback stops before end of the mp3 file (less than one second), on Archlinux 3.12.21-1-ARCH, either with local or remote file

@guo-yu guo-yu added the bug label Nov 27, 2014
@guo-yu
Copy link
Owner

guo-yu commented Dec 3, 2014

This is an unsolved bug, please check out the comments here : https://github.com/turingou/player/blob/48afcec268fcb053962f73d6c9f0338db2a1b07d/libs/player.js#L100-L103

@Saw-zall
Copy link

Saw-zall commented Jan 14, 2017

maybe you can use the finish event on your _speaker2 to emit your playend event

something like
var speaker = new _pcmVolume2['default'](); var spk2 = new _speaker2['default'](self.lameFormat) speaker.pipe(spk2) .on('finish', function() { console.log('play finished') return self.emit('playend', song); });

am i right ?

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

No branches or pull requests

3 participants