cmdutils: use helper functions for listing sinks/sources
authorLukasz Marek <lukasz.m.luki2@gmail.com>
Sun, 14 Dec 2014 23:31:42 +0000 (00:31 +0100)
committerLukasz Marek <lukasz.m.luki2@gmail.com>
Sun, 11 Jan 2015 17:58:33 +0000 (18:58 +0100)
commit44e6eeb30de8e2d20db56284984da4615763525c
treebee7e7e6d2bc81f0864808c5a6a5f2751715dbe8
parent007c33df0a2c1a820050dfeb65986c99143d1c7e
cmdutils: use helper functions for listing sinks/sources

List device callback must be able to return valid list without opening device.
This callback should return input values for open function, not vice-versa.
Read header funtion is very likey to fail without proper configuration provided.

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
cmdutils.c