]> sigrok.org Git - libsigrok.git/commit - src/input/wav.c
input/wav: fix and simplify conversion of integer samples
authorStefan Brüns <redacted>
Tue, 24 Nov 2015 20:03:04 +0000 (21:03 +0100)
committerUwe Hermann <redacted>
Sun, 29 Nov 2015 01:30:37 +0000 (02:30 +0100)
commit8b5aefc681c1d4158ce4c0c95f2a2888ea274a12
treed844259810dd73017c1ddc4ab6ad0704f7b1f802
parentb944e336d60cb9948b757f47a97b9f3bf145f534
input/wav: fix and simplify conversion of integer samples

Size of individual samples is specified by unitsize, not samplesize.
The sample immediate is not necessary.
src/input/wav.c