]> git.alsa-project.org Git - alsa-plugins.git/commit
jack: Replacing jack->channels with jack->num_ports
authorLaxmi Devi <Laxmi.Devi@in.bosch.com>
Fri, 11 Jan 2019 05:15:54 +0000 (10:45 +0530)
committerJaroslav Kysela <perex@perex.cz>
Fri, 11 Jan 2019 07:52:15 +0000 (08:52 +0100)
commita2bd590187bc331531603cb1a5f9d0fec427a302
tree2a3b5ea7296b583d9558779698aeec1487135ac2
parentbadd92170b33afaa39619b3e8d6b0ea33342961c
jack: Replacing jack->channels with jack->num_ports

As jack->num_ports and jack->channels hold the same values,
jack->channels is redundant and hence removed.

Sanity check is added in prepare, to check if io->Channels is
same as jack->num_ports.

Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
jack/pcm_jack.c