summaryrefslogtreecommitdiffstats
path: root/app/Mixer.qml
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2017-04-15 09:18:25 -0400
committerMatt Porter <mporter@konsulko.com>2017-04-20 22:00:09 -0400
commit3fd71f4b6bc026f2f9054140f7bf612855e45d7d (patch)
tree202cb27d30a55843e44d828b9f8043dd9697eddf /app/Mixer.qml
parent392effc544e3d94b82f806378d4ac1d11a185422 (diff)
Rewrite PulseAudio backend into a threaded class
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>
Diffstat (limited to 'app/Mixer.qml')
-rw-r--r--app/Mixer.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Mixer.qml b/app/Mixer.qml
index 7a099ce..75673fe 100644
--- a/app/Mixer.qml
+++ b/app/Mixer.qml
@@ -53,7 +53,7 @@ ApplicationWindow {
anchors.top: title.bottom
anchors.margins: 80
anchors.fill: parent
- model: PaControlModel {}
+ model: PaControlModel { objectName: "pacm" }
delegate: ColumnLayout {
width: parent.width
spacing: 40