summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-19Fixed crash when 'set' request is based on numidseel_5.1.0eel/5.1.05.1.0eelThierry 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-14Add 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-14Add 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-14Update 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-14Correct 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>
2018-01-05Improve resource liberationeel_5.0.3eel_5.0.2eel_5.0.1eel_5.0.0eel/5.0.3eel/5.0.2eel/5.0.1eel/5.0.05.0.35.0.25.0.15.0.0Ronan Le Martret1-16/+50
* Add magic to pcm handle to assert client (pulse) provides a valid structure and ignore invalid data. * TMP Fix for CES 2018, return True even policies are refused. otherwith sig fault. * TMP remove afb_proto_ws_unref on client. Change-Id: I498786147e2dac473a6a9704fef7d12fe4fcaf10 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-12-27Fix undeclared event crash on 4ARonan Le Martret1-15/+66
- Add comment to Alsa Hook - Free resource when closing PCM - Fix Mainloop freeze on the second query Bug-AGL: SPEC-1110 Change-Id: I296f30b82cc85d4a57c1300518627ff1f8685c57 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> (cherry picked from commit 628d612ceaff0753a49ae79ee39b2b396d41fdcc)
2017-12-20Change websock session id from uid only to pcm+uideel_4.99.5eel/4.99.54.99.5Fulup Ar Foll4-2093/+2
This allow to have one session per PCM in order to allow a single process handling multiple PCM like pulse to have on independant session per PCM. Change-Id: Icdd3e4d44539dba2349d70edeaaeee861c3bd1cf Signed-off-by: Fulup Ar Foll <fulup@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-12-19Change initial volume to be in % in place of absolute valuesRonan Le Martret2-45/+51
Signed-off-by: Fulup Ar Foll <fulup@iot.bzh> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-29Add .gitreview defaultbranch for eeleel_4.99.4eel/4.99.44.99.4Jan-Simon Möller1-0/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-28Improve thread ressource liberationRonan Le Martret1-41/+42
* afbClient thread must be kill when we Close the alsa Hook Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I834f888f41c179950ea7c03d6d9325d7df5b4599
2017-11-23Fix infinity loop erroreel_4.99.3eel/4.99.34.99.3Ronan Le Martret1-3/+7
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-09Add Apache-2.0 LICENSE fileRonan Le Martret1-0/+204
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-07create agl .gitreview fileRonan Le Martret1-0/+4
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-05Added few debug messageFulup Ar Foll2-47/+57
2017-11-05Fix Regression on Volume RampingFulup Ar Foll2-69/+77
2017-11-05Many any error fatal in Synchronous modeFulup Ar Foll1-3/+3
2017-11-05Many any error fatal in Synchronous modeFulup Ar Foll1-7/+13
2017-11-05Updated to support search value in response to be intergerFulup Ar Foll2-91/+106
2017-11-05Improve Sound Card By Driver Name DetectionFulup Ar Foll1-25/+36
2017-11-04Added PcmInfo APIFulup Ar Foll9-133/+304
Change HAL register to fallback to driver name when not direct match found
2017-11-02Fix double CloseFulup Ar Foll2-8/+7
2017-11-02Fix FD leaking on Alsa ControlFulup Ar Foll4-55/+44
2017-11-02fix indentJosé Bollo1-1/+2
Change-Id: If4173ea56b2ecf39f6fbdd15ed84321468a0a56a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-01Remove PS_SET, now should use afb-daemon --name optionFulup Ar Foll2-36/+28
2017-11-01Move to support Audio-4a High Level APIFulup Ar Foll8-1329/+936
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-31Fix prj nameRonan Le Martret1-1/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-10-27Reinstall tcp/ws plugin until Jose fix unix/ws socket versionFulup Ar Foll5-31/+600
2017-10-27Initial working version with unix/wsFulup Ar Foll4-54/+126
2017-10-27Update Templatefulup1-0/+0
2017-10-27Merge branch 'master' of github.com:fulup-bzh/alsa-4afulup1-0/+0
2017-10-27Moved from TCP WS to Unix WebSocketfulup3-202/+102
2017-10-25Fix: Wrong commit idRomain Forlot1-0/+0
Change-Id: I065c0b61fc8186d1aa39aa98c573865f7c7fe0ae Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-24Initial working version as independent repoFulup Ar Foll64-6039/+366
2017-09-08Use public URL for submodule afb-utilitiesRonan Le Martret1-1/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-09-01add packagingRonan Le Martret1-0/+0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-09-01update afb-utilitiesRonan Le Martret1-0/+0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-09-01Fix missing link flagRonan Le Martret3-0/+3
2017-09-01update config.cmakeRonan Le Martret1-59/+117
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-08-29bump submodule conf.d/app-templatesStephane Desneux1-0/+0
Change-Id: I1de776af3e7f4721dec5e08dca5dcd0df51adf54 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-08-28Updated README repository URL to reflect renamingRomain Forlot1-2/+3
Change-Id: I12d9ff968863b4cb92197ba48845a148e17463da Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-28Update README instructions.Romain Forlot1-66/+102
Change-Id: I7388c56f56382d1edfd8b79f6a1b40d610dfc333 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-28Change default value for playback PCM was muted at initFulup Ar Foll3-6/+10
2017-08-27Fix Alsacore ctlget in form ctl={id:xxx}Fulup Ar Foll6-9/+69
2017-08-27Readme update for controllerFulup Ar Foll4-2/+35
2017-08-25Fixed infoget in alsa-core.htmlFulup Ar Foll1-2/+2
2017-08-25Align Intel HAL with JabraFulup Ar Foll3-42/+67
2017-08-25Fix Initial Volume for JabraFulup Ar Foll24-1664/+1122