summaryrefslogtreecommitdiffstats
path: root/app/mixer.h
AgeCommit message (Collapse)AuthorFilesLines
2018-12-19Reworked the way qml create slidersLoïc Collignon1-58/+0
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-13Fix indent using tab instead of spacesLoïc Collignon1-20/+20
The whole project is using tabs to indent, but mixer.h is using spaces instead. Fix by using tabs. Change-Id: Id8ee0a86f027b50c9181d9b9b0af4ed9ee34498e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-13Handle the volume_changed eventLoïc Collignon1-6/+8
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-07-10WIP better handling for slider creationLoïc Collignon1-0/+2
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/+54
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>