summaryrefslogtreecommitdiffstats
path: root/app/Mixer.qml
AgeCommit message (Collapse)AuthorFilesLines
2020-06-24Mixer.qml: Use window's width and height instead of screensMarius Vlad1-2/+2
Bug-AGL: SPEC-3379, SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I923d3d962d7ef2e8adf615c65a51c36747c3ecd1
2020-06-24Remove windowmanager depsMarius Vlad1-3/+6
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iad417b60fc3b2c4639396d5ed5aaddbd7018e10e
2019-01-03Add some space between the volume slidershalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4Scott Murray1-0/+1
The change to a ListView to hold the volume sliders seems to have resulted in losing any space between them compared to the default behavior of the previous ColumnLayout scheme. Setting the ListView "spacing" parameter restores a bit of space between the sliders to make them easier to use. Change-Id: Ie1a21918d529f7ba45cdce009405c63055b7e2e2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-19Reworked the way qml create slidersLoïc Collignon1-97/+41
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-08-02Improve output of multiple screen resolutionsandbox/ruke47/flounder_RPi3Tadao Tanikawa1-12/+22
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Change-Id: I5ef4d54712e405744a9c9d2a369fbb2d0d31716d Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-07-10Fix issue with QML variable declarationflounder_5.99.2flounder/5.99.25.99.2Loïc Collignon1-7/+4
It seems that you have to make a local variable to access member, you can't access a member of a member. Change-Id: I7ba4918372355d3c3d0f937a6363a1f640d10e41 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-10Make volume sliders works correctlyLoïc Collignon1-6/+28
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-39/+24
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-07-10Fix bad autocompletionLoïc Collignon1-1/+1
This fails silently most of the times, but under some conditions nothing is displayed because of this bad autocompletion mistake. Change-Id: I96dceb21e0dba21da3120deb8312155a7822f94f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-06-27Merge 'eel' into 'master'Loïc Collignon1-71/+80
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>
2017-12-21mixer: add clearer pulseaudio control namingMatt Ranostay1-1/+1
Use the role name for the control name in the Mixer UI instead of overall vague control description Bug-AGL: SPEC-1196 Change-Id: I34b5c3378fa3bca7464067490907f9ae0adb6364 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-21Add support for handling external sink/source volume change eventsMatt Porter1-0/+5
Subscribes to PA volume change events, updating the local cached volume levels, and propagating the change to the UI. This allows changes to sink/source volumes levels from the command line (pactl) or a master volume control to be reflected in the mixer UI controls. Change-Id: I1d570dffeab9fcf4b6ba51e4792852b44a6149ca AGL-Bug: SPEC-549 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-04-20Rewrite PulseAudio backend into a threaded classMatt Porter1-1/+1
Converts the Mixer PulseAudio backend from a C library to a PaClient class which runs in its own QThread. This faciliates isolation of PaControlModel updates to the QML thread where they belong. It also provides the foundation for runtime updates of the model and reuse of the PaClient class in other apps. AGL-Bug: SPEC-548 Change-Id: I13c4c220fde2fd4bc4aea2e04f39152a963b5fa0 Signed-off-by: Matt Porter <mporter@konsulko.com>
2016-12-21AGL-style PulseAudio mixer appMatt Porter1-0/+93
Change-Id: I566050a1a8f241f140523df236de81ab951c1394 Signed-off-by: Matt Porter <mporter@konsulko.com>