When using fluent-ffmpeg and piping to AudioIO i get this following message:
Argument of type 'IoStreamWrite' is not assignable to parameter of type 'Writable'.
Type 'IoStreamWrite' is missing the following properties from type 'Writable': writableEnded, writableFinished, writableHighWaterMark, writableLength, and 11 more.
When I use @ts-ignore to dont throw errors, I simple hear nothing.
When I use speaker it works fine (but I need device selection)
I saw that audioIO.write wants a buffer and comes from NodeJS.WritableStream.write and speaker.write wants a chunk and comes from internal.Writable.write
When using fluent-ffmpeg and piping to AudioIO i get this following message:
When I use
@ts-ignore
to dont throw errors, I simple hear nothing. When I use speaker it works fine (but I need device selection)I saw that
audioIO.write
wants a buffer and comes fromNodeJS.WritableStream.write
andspeaker.write
wants a chunk and comes frominternal.Writable.write
Is there a way to fix this or convert them?