edje_object_transition_duration_factor_set(Evas_Object *obj, double scale)
{
if (scale <= 0.0) return;
- efl_player_play_speed_set(obj, 1.0/scale);
+ efl_player_playback_speed_set(obj, 1.0/scale);
}
EAPI double
edje_object_transition_duration_factor_get(const Evas_Object *obj)
{
- double speed = efl_player_play_speed_get(obj);
+ double speed = efl_player_playback_speed_get(obj);
if (speed <= 0.0) speed = 1.0;
return 1.0/speed;
}
EOLIAN void
-_efl_canvas_layout_efl_player_play_speed_set(Eo *obj EINA_UNUSED, Edje *pd , double speed)
+_efl_canvas_layout_efl_player_playback_speed_set(Eo *obj EINA_UNUSED, Edje *pd , double speed)
{
if (speed <= 0.0) speed = 1.0;
pd->duration_scale = 1.0/speed;
}
EOLIAN double
-_efl_canvas_layout_efl_player_play_speed_get(const Eo *obj EINA_UNUSED, Edje *pd)
+_efl_canvas_layout_efl_player_playback_speed_get(const Eo *obj EINA_UNUSED, Edje *pd)
{
return 1.0/pd->duration_scale;
}
If animations are disabled, transitions between states (as
defined in EDC) are then instantaneous. This is conceptually similar
- to setting the @Efl.Player.play_speed to an infinitely high
+ to setting the @Efl.Player.playback_speed to an infinitely high
value.
]]
get {
Efl.Observer.update;
Efl.Playable.playable { get; }
Efl.Player.paused { get; set; }
- Efl.Player.play_speed { get; set; }
+ Efl.Player.playback_speed { get; set; }
}
}
*
* If animations are disabled, transitions between states (as defined in EDC)
* are then instantaneous. This is conceptually similar to setting the
- * @ref Efl.Player.play_speed to an infinitely high value.
+ * @ref Efl.Player.playback_speed to an infinitely high value.
*
* Start or stop animating this object.
*
*
* If animations are disabled, transitions between states (as defined in EDC)
* are then instantaneous. This is conceptually similar to setting the
- * @ref Efl.Player.play_speed to an infinitely high value.
+ * @ref Efl.Player.playback_speed to an infinitely high value.
*
* Get the current state of animation, @c true by default.
*
progress: double; [[The progress within the [0, 1] range.]]
}
}
- @property play_speed {
+ @property playback_speed {
[[Control the play speed of the media file.
This function control the speed with which the media file will
}
EOLIAN static void
-_efl_canvas_animation_player_efl_player_play_speed_set(Eo *eo_obj EINA_UNUSED,
+_efl_canvas_animation_player_efl_player_playback_speed_set(Eo *eo_obj EINA_UNUSED,
Efl_Canvas_Animation_Player_Data *pd,
double play_speed)
{
}
EOLIAN static double
-_efl_canvas_animation_player_efl_player_play_speed_get(const Eo *eo_obj EINA_UNUSED,
+_efl_canvas_animation_player_efl_player_playback_speed_get(const Eo *eo_obj EINA_UNUSED,
Efl_Canvas_Animation_Player_Data *pd)
{
return pd->play_speed;
Efl.Playable.playable { get; }
Efl.Player.playback_position { get; set; }
Efl.Player.progress { get;}
- Efl.Player.play_speed { get; set; }
+ Efl.Player.playback_speed { get; set; }
//Efl.Player.volume { get; set; }
//Efl.Player.mute { get; set; }
Efl.Playable.length { get; }