summaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-AddCtl.c
AgeCommit message (Collapse)AuthorFilesLines
2019-10-01Add verb to remove custom ALSA controlJonathan Aillet1-55/+138
Add verb to remove previously added custom ALSA control. It can be done using 'removecustomctl' verb. BUG-AGL: SPEC-2836 Change-Id: I07b842e3425f6c176423473afcd8b3d18dcaa79b Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-01-25Improve ALSA control creationJonathan Aillet1-30/+60
Improve ALSA control creation by : - Checking supported controls type at function start. - Prevent segfault when a none INTEGER control is updated. Change-Id: Icbff18ec6fc6c35938bf2945edc27c36fecf99d1 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-01-25Fix dbScale generation when adding custom controlJonathan Aillet1-22/+15
Fix dbScale generation when a custom INTEGER ALSA control is added. Change-Id: I935de59d1ca30466c071972939c8ef200007ceb3 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-07-20Use some app-fwk macros to support v2 and v3Jonathan Aillet1-2/+2
Use some application framework macros to support both v2 and v3 compilation. Change-Id: I3051bbeff8788ea2c71545e5d253619d4749ff41 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-06Update dB basic TLVJonathan Aillet1-8/+8
Handle volume in dB instead of absolute value. Allows a more natural augmentation/diminution of volume. Bug-AGL: SPEC-1405 Change-Id: If186c826e7008283f7c05599efa6158ac613a380 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2017-11-30Change initial volume to be in % in place of absolute valuesFulup Ar Foll1-1/+12
Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
2017-11-01Fix warning (minor)José Bollo1-1/+0
Change-Id: I0c29015e252d1091a9350fc85e05c1a444bb7579 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-01fix allocation sizeJosé Bollo1-5/+5
Change-Id: Ia1a2ed447fd9b5831eec58606a0f7694e6569017 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24Initial working version as independent repoFulup Ar Foll1-0/+399