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:17 +0000 (13:02 -0400)
commit56c86e0a3f16a2f7fd3e473dd8c9d753a13e86ee
tree20ec7bdf795bbcd9e125ec684484c1f3e4820207
parent2482cbf1d45f3bfc83629408656b7cf5dc8eb23c
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.0253 seconds and 4 git commands to generate.