summaryrefslogtreecommitdiff
path: root/scene/gui/video_player.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/video_player.h')
-rw-r--r--scene/gui/video_player.h6
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;