Open
Description
Hi, I'm having some trouble passing my PCM arrays into the feed() method. I've initialized the player like so:
let player = new PCMPlayer({
encoding: "32bitFloat",
channels: 2,
sampleRate: 48000,
flushingTime: 10,
});
The opus decoding library that I'm using(opus stream decoder) decodes my stereo encoded bytes to left and a right PCM arrays. The feed() method only looks like it accepts one array. I did try to manually merge the left and right arrays together before passing the result into feed() but this action adds a huge amount of delay. Is this the only possible way I can go about using your pcm-player with left and right pcm arrays? Thanks
Metadata
Metadata
Assignees
Labels
No labels