Skip to content

Commit 24eaaec

Browse files
author
Robert Henigan
authored
Merge pull request #294 from smartdevicelink/feature/SDL_0244_CustomPlaybackRate
Update spec for CustomPlayback Rates Proposal
2 parents 47a51a9 + 1905d55 commit 24eaaec

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

MOBILE_API.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5980,6 +5980,14 @@
59805980
Enumeration for the indicator icon on a play/pause button. see AudioStreamingIndicator.
59815981
</description>
59825982
</param>
5983+
5984+
<param name="countRate" type="Float" minvalue="0.1" maxvalue="100.0" defvalue="1.0" mandatory="false" since="7.1">
5985+
<description>
5986+
The value of this parameter is the amount that the media clock timer will advance per 1.0 seconds of real time.
5987+
Values less than 1.0 will therefore advance the timer slower than real-time, while values greater than 1.0 will advance the timer faster than real-time.
5988+
e.g. If this parameter is set to `0.5`, the timer will advance one second per two seconds real-time, or at 50% speed. If this parameter is set to `2.0`, the timer will advance two seconds per one second real-time, or at 200% speed.
5989+
</description>
5990+
</param>
59835991
</function>
59845992

59855993
<function name="SetMediaClockTimer" functionID="SetMediaClockTimerID" messagetype="response" since="1.0">

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3779,6 +3779,7 @@ Sets the initial media clock value and automatic update method.
37793779
|`endTime`|StartTime|False|See StartTime. endTime can be provided for "COUNTUP" and "COUNTDOWN"; to be used to calculate any visual progress bar (if not provided, this feature is ignored) If endTime is greater than startTime for COUNTDOWN or less than startTime for COUNTUP, then the request will return an INVALID_DATA. endTime will be ignored for "RESUME", and "CLEAR" endTime can be sent for "PAUSE", in which case it will update the paused endTime|
37803780
|`updateMode`|UpdateMode|True|Enumeration to control the media clock. In case of pause, resume, or clear, the start time value is ignored and shall be left out. For resume, the time continues with the same value as it was when paused.|
37813781
|`audioStreamingIndicator`|AudioStreamingIndicator|False|Enumeration for the indicator icon on a play/pause button. see AudioStreamingIndicator.|
3782+
|`countRate`|Float|False|The value of this parameter is the amount that the media clock timer will advance per 1.0 seconds of real time. Values less than 1.0 will therefore advance the timer slower than real-time, while values greater than 1.0 will advance the timer faster than real-time. e.g. If this parameter is set to `0.5`, the timer will advance one second per two seconds real-time, or at 50% speed. If this parameter is set to `2.0`, the timer will advance two seconds per one second real-time, or at 200% speed.|
37823783

37833784

37843785
### SetMediaClockTimer

0 commit comments

Comments
 (0)