This is what happens on OpenBSD and FreeBSD with AO being the default output
(explicitly disabling sndio on OpenBSD, and having no other driver on FreeBSD):
$ sox -b 16 -n file.wav synth 10 gain -3
$ play -V6 file.wav
play DBUG sox: Looking for a default device: trying format `ao'
Floating point exception (core dumped)
However, with env AUDIODRIVER=ao play file.wav, the file plays fine.
Why is that, when the output driver (ao) is the same?
Also, what "floating point" exception? Is ao using floats internaly?
(The audio file is 16bit ints on purpose.)
This is what happens on OpenBSD and FreeBSD with AO being the default output (explicitly disabling sndio on OpenBSD, and having no other driver on FreeBSD):
However, with
env AUDIODRIVER=ao play file.wav
, the file plays fine. Why is that, when the output driver (ao) is the same?Also, what "floating point" exception? Is ao using floats internaly? (The audio file is 16bit ints on purpose.)