Fix: consumer: Move sanity check within `consumer_subbuffer` functions
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 9 Jul 2020 21:38:17 +0000 (17:38 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Jul 2020 17:02:52 +0000 (13:02 -0400)
commit917cd4fdc16fede176ccf3a3f5ea903f5b5ffa40
tree6a3a961c5d956c9e415677eedac0075a5bba5b26
parent1e2b06e01bb27dffc9a43aab62f5575b1e29a852
Fix: consumer: Move sanity check within `consumer_subbuffer` functions

The sanity check on the number bytes written by the `consumer_subbuffer`
callback was not correct channel configured in the splice output type in
a live session.

To simplify this, move checks in the callback themselves so they can be
specialized.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I4e47a305860684c461ba7ffffd5e3bb3a21990b0
src/common/consumer/consumer-stream.c
src/common/consumer/consumer.c
This page took 0.024701 seconds and 4 git commands to generate.