aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/alsa
AgeCommit message (Collapse)AuthorFilesLines
2018-06-11Correct issues when calling info verbJonathan Aillet1-7/+4
Correct issues when calling info verb : - Two 'AFB_ReqFail' was called when an error was detected on info call reqsuest json (generating an application framework error). - The error messages wasn't up to date. Change-Id: Ifbb94854bc8a9d13ddf702defa94eaa6cf87e9ba Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-11Fixed latest commitThierry Bultel1-2/+2
Wrong test on asprintf return code broke the app Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-11Fixed compilation warning with _FORTIFY_SOURCE=2Thierry Bultel6-37/+84
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-11Remove yocto compilation errorsJonathan Aillet2-2/+2
Remove yocto compilation errors concerning : - An unitialized variable in 'alsa-api-pcm.c' - A wrong use of asprintf in 'alsa-api-streams.c' Change-Id: I170993d060a7a1d1a1c20979da0645c5ef2b1b91 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-11Correct a conversion into ramp processingJonathan Aillet1-1/+1
The conversion from ms to us wasn't done correctly, it is fixed now. Change-Id: I004e2e42c9b6d9da4f7089d34406bef57ab21d9e Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-11Autorize direct zone to point on sndcardfulup4-29/+56
2018-06-10Authorize new section at mixer initializationJonathan Aillet1-1/+2
Authorize the new section 'mixerapi' to be present into the json sent to initialize mixer. Change-Id: I7feed818f19f2d93566f6e1634933462828dbdf0 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-10Correct a warning when using snd_output_printf functionJonathan Aillet1-1/+1
Instead of passing directly a 'const char *' to snd_output_printf function use a "%s" format. Change-Id: I46cd0fc6e5d139a6241dc3aa224b707d97a68125 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-10Documentation/cleanupfulup1-1/+2
2018-06-10Added cardid+verb return for capture+playback sndcardfulup3-73/+267
2018-06-10Added stream/ramp return to fit HAL attach requestfulup2-90/+155
2018-06-10Cleanup and added return of previous volume when setting new valuefulup14-147/+364
2018-06-07Added log for card lookup diagnosticThierry Bultel2-2/+7
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-07code cleanupThierry Bultel1-2/+2
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-07Code cleanup and fixed some typosThierry Bultel3-36/+48
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-06Move PCM write to synchronous write to remove XRUNfulup2-3/+3
2018-06-06Move smixer API create+attach into controller onload sectionfulup1-71/+9
2018-06-06Fixed the buffer copy size in read callbackThierry Bultel1-3/+5
Fixes the UNDERRUN issue (seen while playing radio, for instance) Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-06Fixed the MixerInfoAction replyThierry Bultel2-9/+5
Make it robust to empty source, and set the source when input is a direct capture device. Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-05Fix alsa URI within attach responsefulup1-2/+3
2018-06-05Use attach info verb to build attach response.fulup3-50/+26
2018-06-05Added per sink/source API for master controlfulup1-4/+8
2018-06-05Update info command and move HTML5 to new APIfulup6-69/+353
2018-06-04Fixed compilation issues with gcc >= 7.2Thierry Bultel4-5/+5
Fixed some warnings about uninitialized variables
2018-06-04Fixed json parsing format errorsThierry Bultel2-4/+5
The expected format did not match the parameters Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-04Move to Dynamic Mixer API (work in progress)Fulup Ar Foll21-1683/+2069
2018-05-18Update to last controller fixFulup Ar Foll1-2/+2
2018-05-18Added create/close mixer APIFulup Ar Foll3-62/+131
2018-05-18Implements volume rampingFulup Ar Foll13-192/+473
2018-05-18Added relative volume setting per audio-streamFulup Ar Foll1-31/+69
2018-05-17Implemented sub API for stream with volume/pause/toggle/...Fulup Ar Foll5-22/+100
2018-05-17Initial version with dynamic APIsFulup Ar Foll12-125/+426
2018-05-17Cleanup soft vol control creationFulup Ar Foll4-14/+61
2018-05-14Move to new Romain controller versionfulup4-84/+15
2018-05-14Documentation and simple config for one cardfulup1-0/+82
2018-05-13First testable version.Fulup Ar Foll14-317/+637
Mixing with volume and mute per audio role works.
2018-05-13First version muxing multiple audio streams.Fulup Ar Foll6-19/+29
2018-05-13Initial version with softvol,Route,Multi,DmixFulup Ar Foll15-254/+1249
2018-05-11Initial version with softvol control and DMIXFulup Ar Foll9-442/+472
2018-05-08Fist AlsaLoop model playing music (work in progress)Fulup Ar Foll11-205/+1324
2018-04-30On going effort, now load and support LUA+C pluginFulup Ar Foll7-0/+379