parent
b3d4fc350d
commit
e1caf737fe
2 changed files with 0 additions and 3 deletions
|
|
@ -20,7 +20,6 @@ Scope {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
property var values: Array(count).fill(0) // 0 <= value <= 1
|
property var values: Array(count).fill(0) // 0 <= value <= 1
|
||||||
property bool running: true // Controls whether cava is active
|
|
||||||
|
|
||||||
onConfigChanged: {
|
onConfigChanged: {
|
||||||
process.running = false
|
process.running = false
|
||||||
|
|
@ -32,7 +31,6 @@ Scope {
|
||||||
id: process
|
id: process
|
||||||
stdinEnabled: true
|
stdinEnabled: true
|
||||||
command: ["cava", "-p", "/dev/stdin"]
|
command: ["cava", "-p", "/dev/stdin"]
|
||||||
running: root.running // Bind process running to the new property
|
|
||||||
onExited: { stdinEnabled = true; index = 0 }
|
onExited: { stdinEnabled = true; index = 0 }
|
||||||
onStarted: {
|
onStarted: {
|
||||||
const iniParts = []
|
const iniParts = []
|
||||||
|
|
|
||||||
|
|
@ -406,6 +406,5 @@ Rectangle {
|
||||||
Cava {
|
Cava {
|
||||||
id: cava
|
id: cava
|
||||||
count: 64
|
count: 64
|
||||||
running: currentPlayer && currentPlayer.isPlaying
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue