1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 01:39:28 +02:00

fix(mpris): Add comment concerning non-support of setting playback rate

This commit is contained in:
Paul Fariello 2025-09-23 14:26:16 +02:00
parent 51ec4c91c3
commit a28e6b4b57

View file

@ -662,7 +662,7 @@ impl MprisPlayerService {
// This value should always be 1.0 or less.
#[zbus(property(emits_changed_signal = "true"))]
async fn minimum_rate(&self) -> PlaybackRate {
// TODO: implement
// Setting minimum and maximum rate to 1 disallow client to set rate.
1.0
}
@ -672,7 +672,7 @@ impl MprisPlayerService {
// This value should always be 1.0 or greater.
#[zbus(property(emits_changed_signal = "true"))]
async fn maximum_rate(&self) -> PlaybackRate {
// TODO: implement
// Setting minimum and maximum rate to 1 disallow client to set rate.
1.0
}