add audio volume slider

This commit is contained in:
Benjamin Palko 2025-09-15 20:37:53 -04:00
parent 141c64a0bb
commit ebb66dee21

View file

@ -23,7 +23,7 @@ ColumnLayout {
StyledText {
Layout.column: 1
Layout.row: 1
text: "Speakers"
text: "Device"
}
StyledComboBox {
@ -36,6 +36,23 @@ ColumnLayout {
Pipewire.setSink(Pipewire.sinks[index]);
}
}
StyledText {
Layout.column: 1
Layout.row: 2
text: "Volume"
}
StyledSlider {
Layout.column: 2
Layout.row: 2
from: 0.0
to: 1.0
value: Pipewire.volume
onMoved: {
Pipewire.setVolume(value);
}
}
}
}