Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-06-26 | Rework the pcm copy loop and save a lot of CPUeel | Thierry Bultel | 2 | -142/+188 | |
- 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-22 | plugins: code & log cleanup | Thierry Bultel | 7 | -20/+21 | |
2018-06-22 | pcm core: fixed spurious XRUN issues | Thierry Bultel | 2 | -95/+257 | |
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-22 | route plugin:fixed mismatch with several sound cards | Thierry Bultel | 1 | -16/+40 | |
Also sets the right number of channels. Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-22 | set the correct number of channels in dmix | Thierry Bultel | 1 | -9/+40 | |
The value set was wrong, and attempting to bump to an higher value later seems to be forbidden by the alsalib (led to EINVAL when getting parameters of PCM) Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-22 | alsa-plug-vol: code & log cleanup | Thierry Bultel | 1 | -5/+11 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-22 | alsa-utils-bypath: code & log cleanup | Thierry Bultel | 1 | -6/+15 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-22 | alsa-utils-dump: added log upon failing parameters retrieval | Thierry Bultel | 1 | -5/+9 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-22 | zones: fixed index mismatch when multiple sound cards are declared | Thierry Bultel | 1 | -12/+19 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-22 | alsa-api-mixer: code & log cleanup | Thierry Bultel | 1 | -14/+42 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-22 | alsa-api-streams: code & log cleanup | Thierry Bultel | 1 | -27/+103 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-22 | sinks: fixed index mismatch when multiple sound cards are declared | Thierry Bultel | 1 | -6/+6 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-22 | pcm: return volume value with null set request | Thierry Bultel | 1 | -4/+18 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-16 | Use correct chanel number when creating PCMhal-rc2-sandbox | Jonathan Aillet | 1 | -2/+2 | |
Use correct chanel number when creating PCM. Change-Id: I17ac0273f9a6eec1d3b49845f579495f2cdcf9d7 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh> | |||||
2018-06-13 | Replace verb prefix separator | Jonathan Aillet | 1 | -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-11 | Correct issues when calling info verb | Jonathan Aillet | 1 | -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-11 | Fixed latest commit | Thierry Bultel | 1 | -2/+2 | |
Wrong test on asprintf return code broke the app Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-11 | Fixed compilation warning with _FORTIFY_SOURCE=2 | Thierry Bultel | 6 | -37/+84 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-11 | Remove yocto compilation errors | Jonathan Aillet | 2 | -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-11 | Correct a conversion into ramp processing | Jonathan Aillet | 1 | -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-11 | Autorize direct zone to point on sndcard | fulup | 4 | -29/+56 | |
2018-06-10 | Authorize new section at mixer initialization | Jonathan Aillet | 1 | -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-10 | Correct a warning when using snd_output_printf function | Jonathan Aillet | 1 | -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-10 | Documentation/cleanup | fulup | 1 | -1/+2 | |
2018-06-10 | Added cardid+verb return for capture+playback sndcard | fulup | 3 | -73/+267 | |
2018-06-10 | Added stream/ramp return to fit HAL attach request | fulup | 2 | -90/+155 | |
2018-06-10 | Cleanup and added return of previous volume when setting new value | fulup | 14 | -147/+364 | |
2018-06-07 | Added log for card lookup diagnostic | Thierry Bultel | 2 | -2/+7 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-07 | code cleanup | Thierry Bultel | 1 | -2/+2 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-07 | Code cleanup and fixed some typos | Thierry Bultel | 3 | -36/+48 | |
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-06 | Move PCM write to synchronous write to remove XRUN | fulup | 2 | -3/+3 | |
2018-06-06 | Move smixer API create+attach into controller onload section | fulup | 1 | -71/+9 | |
2018-06-06 | Fixed the buffer copy size in read callback | Thierry Bultel | 1 | -3/+5 | |
Fixes the UNDERRUN issue (seen while playing radio, for instance) Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-06 | Fixed the MixerInfoAction reply | Thierry Bultel | 2 | -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-05 | Fix alsa URI within attach response | fulup | 1 | -2/+3 | |
2018-06-05 | Use attach info verb to build attach response. | fulup | 3 | -50/+26 | |
2018-06-05 | Added per sink/source API for master control | fulup | 1 | -4/+8 | |
2018-06-05 | Update info command and move HTML5 to new API | fulup | 6 | -69/+353 | |
2018-06-04 | Fixed compilation issues with gcc >= 7.2 | Thierry Bultel | 4 | -5/+5 | |
Fixed some warnings about uninitialized variables | |||||
2018-06-04 | Fixed json parsing format errors | Thierry Bultel | 2 | -4/+5 | |
The expected format did not match the parameters Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> | |||||
2018-06-04 | Move to Dynamic Mixer API (work in progress) | Fulup Ar Foll | 21 | -1683/+2069 | |
2018-05-18 | Update to last controller fix | Fulup Ar Foll | 1 | -2/+2 | |
2018-05-18 | Added create/close mixer API | Fulup Ar Foll | 3 | -62/+131 | |
2018-05-18 | Implements volume ramping | Fulup Ar Foll | 13 | -192/+473 | |
2018-05-18 | Added relative volume setting per audio-stream | Fulup Ar Foll | 1 | -31/+69 | |
2018-05-17 | Implemented sub API for stream with volume/pause/toggle/... | Fulup Ar Foll | 5 | -22/+100 | |
2018-05-17 | Initial version with dynamic APIs | Fulup Ar Foll | 12 | -125/+426 | |
2018-05-17 | Cleanup soft vol control creation | Fulup Ar Foll | 4 | -14/+61 | |
2018-05-14 | Move to new Romain controller version | fulup | 4 | -84/+15 | |
2018-05-14 | Documentation and simple config for one card | fulup | 1 | -0/+82 | |