summaryrefslogtreecommitdiffstats
path: root/alsa-binding
AgeCommit message (Collapse)AuthorFilesLines
2018-10-31Migrate app-templates to CMake moduleRomain Forlot1-1/+0
Bug-AGL SPEC-1682 Change-Id: Ic4a8925d8be17ab6d53d18ca8abaf99ce348ded8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-20Use some app-fwk macros to support v2 and v3Jonathan Aillet6-38/+42
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-07-20Use app-fwk macro to get verbosity levelJonathan Aillet2-4/+1
Use application framework macro to get verbosity level instead of a legacy function. Change-Id: I925b2ccea3c7d58bc50281eb8d39f82dac1f49b4 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-07-20Correct warning that was raised at compilationJonathan Aillet3-6/+6
Correct warning that was raised at compilation concerning 3 subjects : - Too short strings for 'snprintf'. - Forget cast returns of 'json_object_array_length' function. - Checking return of 'asprintf' function. Change-Id: I0fc702750841a0f8da921c3c3b1453c5afee0fd8 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-07-20Set afb version in cmake instead of in headerJonathan Aillet1-1/+0
Set application framework binding version in cmake instead of setting it before including binding header. Change-Id: Ic841069248d40fdd023c8056a614e484004be298 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-26Fixed crash when 'set' request is based on numidsflounder_5.99.1flounder/5.99.15.99.1Thierry Bultel1-3/+10
When numids are given, the 'tag' field is not initialized to NULL, and leads to a crash on strcasecmp. Change-Id: I23a1552bba565259280140a5e099be10613ab1bc Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-06Add an option to 'ctlget' verbJonathan Aillet2-1/+12
Add a new way to ask for alsa controls info by implementing the possibility to ask for alsa control using its label. It is a clean way to get control numid using control label. Bug-AGL: SPEC-1405 Change-Id: If5387c63a41a07d451a21edab86e9bb90b4908c4 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-06Add an option to 'infoget' verbJonathan Aillet2-20/+75
Add a new way to get card info when using 'infoget' verb : When the request contains a section 'devpath', the path specified will be used to search for the device. Bug-AGL: SPEC-1405 Change-Id: Idc99a27229f0db3484f62f8f761b7e0daee13a3c 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>
2018-06-06Correct a segfault when using ping verbJonathan Aillet1-1/+1
When 'ping' verb is called, be sure that we won't generate a segfault by using 'json_object_get' before responding. Bug-AGL: SPEC-1405 Change-Id: I22fb8e1e492a33e7310d009998fd3c72383e702d 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-05Fix Regression on Volume RampingFulup Ar Foll1-1/+1
2017-11-05Improve Sound Card By Driver Name DetectionFulup Ar Foll1-25/+36
2017-11-04Added PcmInfo APIFulup Ar Foll4-14/+188
Change HAL register to fallback to driver name when not direct match found
2017-11-02Fix double CloseFulup Ar Foll1-1/+0
2017-11-02Fix FD leaking on Alsa ControlFulup Ar Foll3-3/+8
2017-11-01Remove PS_SET, now should use afb-daemon --name optionFulup Ar Foll1-8/+0
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 Foll8-0/+2279