summaryrefslogtreecommitdiffstats
path: root/alsa-hook/PolicyAlsaHook.c
AgeCommit message (Collapse)AuthorFilesLines
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 Foll1-3/+1
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-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-05Added few debug messageFulup Ar Foll1-1/+2
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 Foll1-14/+37
2017-11-02fix indentJosé Bollo1-1/+2
Change-Id: If4173ea56b2ecf39f6fbdd15ed84321468a0a56a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-01Move to support Audio-4a High Level APIFulup Ar Foll1-0/+640