summaryrefslogtreecommitdiffstats
path: root/ALSA-afb/Alsa-SetGet.c
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2019-02-19 16:46:03 +0100
committerJonathan Aillet <jonathan.aillet@iot.bzh>2019-02-19 16:46:03 +0100
commitb8af262e1377072e4091a1a3196e1a739d671975 (patch)
tree6c2cd39d741b10ee666022c21f5c8a4befa985c5 /ALSA-afb/Alsa-SetGet.c
parent4eb02cc449f51343bd5a08b76d92e4099f9ddf54 (diff)
Rework ALSA card get info function
Rework ALSA card get info function to : - Be able to probe an ALSA card depending on multiple parameters (card number, card path, card id, card short name, card long name, card driver, card mixer name, card components). If several parameters are requested, all should be true to find a corresponding card. - Be able to add parameters about a playback device depending on multiple parameters (device number, device id, device name). The combination of all card parameters and all device parameters should be true to find a corresponding card/device. - If a corresponding card/device is found, information about it will be returned as a json object. - If multiple card/device are corresponding to the request, all cards information will be returned in a json array. - If no request json is available, all cards information will be returned (using a json array). - Add the possibility to ask for multiple card/device in one verb call using a json array in request json. Each case will be handled as an individual request. The response will be an array of the same length as the request json, with each response case corresponding to the request case. Change-Id: Ia71e40ce10c8bb10d51099832748c5621d202647 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'ALSA-afb/Alsa-SetGet.c')
0 files changed, 0 insertions, 0 deletions