summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-softmixer.h
AgeCommit message (Collapse)AuthorFilesLines
2018-07-11stops the read/write loop when the stream is mutedThierry Bultel1-27/+35
when the stream is muted (due to the configuration, or due to a HAL request), the read/write loop is stopped. The benefit is that muting will work with capture devices that do not implement the mute in their driver. The inconvenient of stopping the read loop is that it has made appear an unexpected side-effect: the poll on capture does not trig for further incoming frames. The workaround is to completely close, then reopen and configure the capture PCM. Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-29Update version of app-controller-submodule submodule.Loïc Collignon1-1/+1
Changes of app-controller-submodule: (0f3063b - Romain Forlot) Be able to dispatch required api at the wanted time (1ff524b - Romain Forlot) Change LUA package path at LUA interpreter load (738ae54 - Romain Forlot) Don't load two times a plugin even for LUA (c04f029 - Sebastien Douheret) Fixed hidden bound variable (apiHandle) (cfe3919 - Sebastien Douheret) Fixed null value when push Lua arguments (69c0585 - José Bollo) Adjust to compile with incoming bindings v3 (d7e260c - José Bollo) Remove declaration to not existing functions (8ac6625 - Romain Forlot) Add 2 lua utilities function (d3504bb - Jonathan Aillet) Update README.md for new metadata keys. Change-Id: I794ed0ca3a054e7baf11769207007ef733854474 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-26Rework the pcm copy loop and save a lot of CPUeelThierry Bultel1-2/+8
- removed the systemd polling usage - uses a while loop for reading - improved the write loop, leveraging the available space at each iteration Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-22pcm core: fixed spurious XRUN issuesThierry Bultel1-8/+16
This fixes the numerous XRUN issues seen on some cards. The trick is to set the buffer_size & period size in hw parameters. These ones are calculated from an expected maximum latency. Also, the writei is done in a loop to be robust to overruns and partial writes. Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-11Autorize direct zone to point on sndcardfulup1-1/+2
2018-06-10Added cardid+verb return for capture+playback sndcardfulup1-0/+1
2018-06-10Cleanup and added return of previous volume when setting new valuefulup1-2/+7
2018-06-05Use attach info verb to build attach response.fulup1-2/+2
2018-06-04Move to Dynamic Mixer API (work in progress)Fulup Ar Foll1-82/+140
2018-05-18Implements volume rampingFulup Ar Foll1-12/+61
2018-05-17Implemented sub API for stream with volume/pause/toggle/...Fulup Ar Foll1-0/+1
2018-05-17Initial version with dynamic APIsFulup Ar Foll1-13/+17
2018-05-17Cleanup soft vol control creationFulup Ar Foll1-1/+3
2018-05-14Move to new Romain controller versionfulup1-1/+13
2018-05-13First testable version.Fulup Ar Foll1-7/+20
Mixing with volume and mute per audio role works.
2018-05-13Initial version with softvol,Route,Multi,DmixFulup Ar Foll1-20/+76
2018-05-11Initial version with softvol control and DMIXFulup Ar Foll1-43/+41
2018-05-08Fist AlsaLoop model playing music (work in progress)Fulup Ar Foll1-7/+51
2018-04-30On going effort, now load and support LUA+C pluginFulup Ar Foll1-0/+49