summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-api-streams.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-11stops the read/write loop when the stream is mutedThierry Bultel1-4/+8
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-22plugins: code & log cleanupThierry Bultel1-7/+7
2018-06-22alsa-api-streams: code & log cleanupThierry Bultel1-27/+103
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-13Replace verb prefix separatorJonathan Aillet1-2/+2
When adding a stream , instead of using a ':' to separate prefix and verb, use a '#'. Change-Id: I2cbb467a85c52dddd4714cfe644dcdf3a35df5d3 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 Bultel1-16/+33
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-11Remove yocto compilation errorsJonathan Aillet1-1/+1
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-11Autorize direct zone to point on sndcardfulup1-7/+31
2018-06-10Cleanup and added return of previous volume when setting new valuefulup1-33/+69
2018-06-06Move PCM write to synchronous write to remove XRUNfulup1-2/+2
2018-06-06Fixed the MixerInfoAction replyThierry Bultel1-2/+1
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-05Use attach info verb to build attach response.fulup1-42/+16
2018-06-05Update info command and move HTML5 to new APIfulup1-18/+29
2018-06-04Fixed json parsing format errorsThierry Bultel1-2/+3
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 Foll1-237/+238
2018-05-18Added create/close mixer APIFulup Ar Foll1-26/+26
2018-05-18Implements volume rampingFulup Ar Foll1-74/+110
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 Foll1-13/+25
2018-05-17Initial version with dynamic APIsFulup Ar Foll1-0/+340