mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 09:49:31 +02:00
fix(mpris): Add comment concerning non-support of setting playback rate
This commit is contained in:
parent
51ec4c91c3
commit
a28e6b4b57
1 changed files with 2 additions and 2 deletions
|
@ -662,7 +662,7 @@ impl MprisPlayerService {
|
||||||
// This value should always be 1.0 or less.
|
// This value should always be 1.0 or less.
|
||||||
#[zbus(property(emits_changed_signal = "true"))]
|
#[zbus(property(emits_changed_signal = "true"))]
|
||||||
async fn minimum_rate(&self) -> PlaybackRate {
|
async fn minimum_rate(&self) -> PlaybackRate {
|
||||||
// TODO: implement
|
// Setting minimum and maximum rate to 1 disallow client to set rate.
|
||||||
1.0
|
1.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -672,7 +672,7 @@ impl MprisPlayerService {
|
||||||
// This value should always be 1.0 or greater.
|
// This value should always be 1.0 or greater.
|
||||||
#[zbus(property(emits_changed_signal = "true"))]
|
#[zbus(property(emits_changed_signal = "true"))]
|
||||||
async fn maximum_rate(&self) -> PlaybackRate {
|
async fn maximum_rate(&self) -> PlaybackRate {
|
||||||
// TODO: implement
|
// Setting minimum and maximum rate to 1 disallow client to set rate.
|
||||||
1.0
|
1.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue