TooTallNate / node-speaker

Output PCM audio data to the speakers
650 stars 147 forks source link

Error: specified PCM format is not supported by "win32" backend #125

Open kythre opened 5 years ago

kythre commented 5 years ago

[23:17:17] Unhandled Exception Error
log.js:17 Error: specified PCM format is not supported by "win32" backend at Speaker._open (d:\Development\discord-kylesbot\node_modules\speaker\index.js:157:11) at Speaker._write (d:\Development\discord-kylesbot\node_modules\speaker\index.js:242:21) at doWrite (d:\Development\discord-kylesbot\node_modules\readable-stream\lib_stream_writable.js:428:64) at writeOrBuffer (d:\Development\discord-kylesbot\node_modules\readable-stream\lib_stream_writable.js:417:5) at Speaker.Writable.write (d:\Development\discord-kylesbot\node_modules\readable-stream\lib_stream_writable.js:334:11) at AudioSpeaker.ondata (_stream_readable.js:666:20) at AudioSpeaker.emit (events.js:182:13) at AudioSpeaker.Readable.read (_stream_readable.js:486:10) at flow (_streamreadable.js:922:34) at resume (_stream_readable.js:904:3)

richiedevs commented 3 years ago

I'm also getting this issue recently

polvallverdu commented 3 years ago

Getting this issue too. Looks like it occurs when trying to play more than 16 bits. Updating windows advanced sound thing to play 24 bits doesn't work