diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-10-13 01:17:54 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-10-13 01:17:54 -0300 |
commit | 52e756752e1db9e4cf7c5bb7e92d44995ad674c4 (patch) | |
tree | fe9dc54a7efac116c61333c959c44a3afc4e5794 /scene/gui/video_player.h | |
parent | c858515785e2406bfc07da587ffc3bb353b7504c (diff) |
ability to change audio track in theora video
Diffstat (limited to 'scene/gui/video_player.h')
-rw-r--r-- | scene/gui/video_player.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scene/gui/video_player.h b/scene/gui/video_player.h index a0eb46bcf6..c485e3d6b6 100644 --- a/scene/gui/video_player.h +++ b/scene/gui/video_player.h @@ -70,7 +70,8 @@ class VideoPlayer : public Control { bool expand; bool loops; int buffering_ms; - int server_mix_rate; + int server_mix_rate; + int audio_track; static int _audio_mix_callback(void* p_udata,const int16_t *p_data,int p_frames); @@ -109,6 +110,9 @@ public: void set_autoplay(bool p_vol); bool has_autoplay() const; + void set_audio_track(int p_track); + int get_audio_track() const; + void set_buffering_msec(int p_msec); int get_buffering_msec() const; |