sad

simple audio daemon
git clone git://git.2f30.org/sad
Log | Files | Refs | LICENSE

commit fde79b74090c98dc59dfcec05c32aea45677a078
parent 626a9880e45d4d5e7380162f63ec4f7eaf30a0b1
Author: sin <sin@2f30.org>
Date:   Tue, 30 Dec 2014 17:57:10 +0000

Style fix - group related blocks

Diffstat:
Moutput.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/output.c b/output.c @@ -33,9 +33,9 @@ initresampler(Outputdesc *desc, int inrate) quality = soxr_quality_spec(RESAMPLEQUALITY, 0); iospec = soxr_io_spec(SOXR_INT16_I, SOXR_INT16_I); + if (desc->resampler) soxr_delete(desc->resampler); - desc->resampler = soxr_create(inrate, desc->rate, desc->channels, NULL,