Hi,
Just for everyone to know, this should be solved by commit 4549.
++
Sam.
Vincent Tabard wrote:
> Hello all,
>
> I don't think I'm telling you new stuff when I say that compress()
> doesn't like an input that becomes silent. Simple testing:
>
> $ liquidsoap -v 'output.file.wav("/tmp/test.wav",
> output.alsa(compress(threshold=-20., ratio=4., debug=true,
> single("test-compress.ogg"))))'
>
> This will end up with "nan" values in debug, and a nice "plok" when
> output screws up. Fortunately, it seems to get back in the correct path
> when sound comes back (or maybe at the beginning of a new track).
>
> Find the Ogg file I've used here:
> http://balbinus.org/images/savonet/test-compress.ogg, or you can roll
> your own using Audacity: generate some white noise (actually any sound
> will cause the same effect, as long as it never goes silent). Then fade
> it out at some point, so that it will be silent for a few seconds.
> That's all.
>