]> sigrok.org Git - libsigrok.git/commit
output/wav: Add 'scale' option.
authorBert Vermeulen <redacted>
Sat, 2 Aug 2014 01:48:55 +0000 (03:48 +0200)
committerBert Vermeulen <redacted>
Sat, 2 Aug 2014 01:50:27 +0000 (03:50 +0200)
commit7ea75009d1977874efb686b000516c4ce1343474
treef1c4c49d38b204eca9c7125ac0da1ef78c85f527
parenta24c3f4a899d61a6bfc837a1969dbacf42e2ea72
output/wav: Add 'scale' option.

Audio tools processing WAV failes generally need the samples to be in
the range -1 to +1. The scale option adds postprocessing to any samples
going into a WAV file, by dividing the sample values by the given factor.
src/output/wav.c