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)
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


No differences found
This page took 0.029308 seconds and 4 git commands to generate.