summaryrefslogtreecommitdiffstats
path: root/app/mixer.cpp
AgeCommit message (Collapse)AuthorFilesLines
2018-12-19Reworked the way qml create slidersLoïc Collignon1-57/+67
Use the qml MVC to populate a ListView with components based on a template VolumeSlider. Should now handle potential disconnections, volume changes by third-party and also fix the issue where sliders are set to 0 at startup. Change-Id: I2961d5a1584a121c473ece253faa90a747c64445 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-13Handle the volume_changed eventLoïc Collignon1-51/+89
4A's High Level API now raises event when volume of a role is changed. This handles it by subscribing to the event and update the corresponding slider. Bug: SPEC-2054 Change-Id: I137eaa461f0baa9206ee714c91e3ac998b9b2bf2 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-11-23Fix json format changed since v3guppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1Loïc Collignon1-1/+1
Using APIv3 the json format for a response of an API call has changed a bit, removing one extra useless level. BUG: SPECT-1973 Change-Id: If5cfcda5740cf48637257a510f030dc84e853057 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Make volume sliders works correctlyLoïc Collignon1-1/+2
Volume sliders are now binded to the High Level 4a API. Change-Id: I46c4d80a19cf2a9047a502d9faa8bec6f7bd173e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10WIP better handling for slider creationLoïc Collignon1-1/+8
The creation of sliders is now using a template instead of a string computation. Also fixed some indentation and trailing spaces issues. Change-Id: Ieb1d9f953d61fa1bac46bf1ab6904e67d09a3fa9 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-27Merge 'eel' into 'master'Loïc Collignon1-0/+91
Replace content from 'master' by content from 'eel' as it's the new version based on 4a on which new development will be done. Change-Id: I2966af7dcee59701ff3a344487c008d7e65e68ed Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>