diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2017-09-21 00:31:36 -0300 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-09-23 16:55:00 +0200 |
commit | 46af050e93ddda77fd6316b0d041b8e9e6f0cd49 (patch) | |
tree | e155e527741cfc132b82b52014967849d30b812f /modules/theora | |
parent | 650e0cf3186df2239cbcb6c178533a09732f3f02 (diff) | |
download | redot-engine-46af050e93ddda77fd6316b0d041b8e9e6f0cd49.tar.gz |
Rename get_position => get_playback_position and seek_pos => seek on audio classes
Diffstat (limited to 'modules/theora')
-rw-r--r-- | modules/theora/video_stream_theora.cpp | 4 | ||||
-rw-r--r-- | modules/theora/video_stream_theora.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/theora/video_stream_theora.cpp b/modules/theora/video_stream_theora.cpp index 603c31195d..c75bec31df 100644 --- a/modules/theora/video_stream_theora.cpp +++ b/modules/theora/video_stream_theora.cpp @@ -634,12 +634,12 @@ int VideoStreamPlaybackTheora::get_loop_count() const { return 0; }; -float VideoStreamPlaybackTheora::get_position() const { +float VideoStreamPlaybackTheora::get_playback_position() const { return get_time(); }; -void VideoStreamPlaybackTheora::seek_pos(float p_time){ +void VideoStreamPlaybackTheora::seek(float p_time){ // no }; diff --git a/modules/theora/video_stream_theora.h b/modules/theora/video_stream_theora.h index aeb5fa3511..484a1a7fb9 100644 --- a/modules/theora/video_stream_theora.h +++ b/modules/theora/video_stream_theora.h @@ -140,8 +140,8 @@ public: virtual int get_loop_count() const; - virtual float get_position() const; - virtual void seek_pos(float p_time); + virtual float get_playback_position() const; + virtual void seek(float p_time); void set_file(const String &p_file); |