]> sigrok.org Git - libsigrok.git/commit
input/wav: initialize channel list before going into ready state
authorStefan Brüns <redacted>
Sat, 28 Nov 2015 15:52:08 +0000 (16:52 +0100)
committerUwe Hermann <redacted>
Mon, 21 Dec 2015 14:37:32 +0000 (15:37 +0100)
commit74c9a8d2bd361d59cd6eb6e20c26a37c6f4d12a1
tree7d077a2d9581be1f7e525f83065866d66f8263da
parent7cccc9155c6cdca46deee310be112eb23b374c3b
input/wav: initialize channel list before going into ready state

The sr_input_dev_inst_get API documentation guarantees an input is fully
initialized as soon as the device instance is returned. An sdi
implementation should not set sdi_ready any earlier.

This fixes parts of bug #387.
src/input/wav.c