Expose audio streams get_length()
This commit is contained in:
@ -71,8 +71,6 @@ public:
|
||||
virtual float get_playback_position() const;
|
||||
virtual void seek(float p_time);
|
||||
|
||||
virtual float get_length() const; //if supported, otherwise return 0
|
||||
|
||||
AudioStreamPlaybackOGGVorbis() {}
|
||||
~AudioStreamPlaybackOGGVorbis();
|
||||
};
|
||||
@ -112,6 +110,8 @@ public:
|
||||
void set_data(const PoolVector<uint8_t> &p_data);
|
||||
PoolVector<uint8_t> get_data() const;
|
||||
|
||||
virtual float get_length() const; //if supported, otherwise return 0
|
||||
|
||||
AudioStreamOGGVorbis();
|
||||
virtual ~AudioStreamOGGVorbis();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user