Works fine when playing on MAC OSX but throws this error when running in Debian:
Error: specified PCM format is not supported by "alsa" backend
at Speaker._open (/home/pi/node_modules/av/node_modules/speaker/index.js:157:11)
at Speaker._write (/home/pi/node_modules/av/node_modules/speaker/index.js:242:21)
at doWrite (/home/pi/node_modules/av/node_modules/speaker/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at writeOrBuffer (/home/pi/node_modules/av/node_modules/speaker/node_modules/readable-stream/lib/_stream_writable.js:227:5)
at Speaker.Writable.write (/home/pi/node_modules/av/node_modules/speaker/node_modules/readable-stream/lib/_stream_writable.js:194:11)
at Readable.ondata (_stream_readable.js:528:20)
at emitOne (events.js:77:13)
at Readable.emit (events.js:169:7)
at Readable.read (_stream_readable.js:360:10)
at flow (_stream_readable.js:743:26)
I'm using AV player with the AAC.js plugin.
Works fine when playing on MAC OSX but throws this error when running in Debian: