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

Audible glitches - openal backend - MacOS #138

Open
boedy opened this issue Dec 13, 2019 · 0 comments
Open

Audible glitches - openal backend - MacOS #138

boedy opened this issue Dec 13, 2019 · 0 comments

Comments

@boedy
Copy link

boedy commented Dec 13, 2019

I hear subtle, but definitely noticeable glitches during the audio playback when using the openal backend on MacOS. With core-audio (which has issues of its own #92) I'm getting smooth sound. Does anyone else experience the same symptoms or have an explanation what could be causing this?

The code I used:

const decoder = lame.Decoder();
const speaker = new Speaker({
    channels: 2,          // 2 channels
    bitDepth: 16,         // 16-bit samples
    sampleRate: 44100     // 44,100 Hz sample rate
});

fs.createReadStream('test.mp3')
    .pipe(decoder)
    .pipe(speaker);

My Setup:
Machine: 2018 Macbook pro (Mojave) 16GB
mpg123-backend: openal

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