readded ability to set loop offset in seconds, closes #9630
This commit is contained in:
@ -89,6 +89,7 @@ class AudioStreamOGGVorbis : public AudioStream {
|
||||
int channels;
|
||||
float length;
|
||||
bool loop;
|
||||
float loop_offset;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
@ -97,6 +98,9 @@ public:
|
||||
void set_loop(bool p_enable);
|
||||
bool has_loop() const;
|
||||
|
||||
void set_loop_offset(float p_seconds);
|
||||
float get_loop_offset() const;
|
||||
|
||||
virtual Ref<AudioStreamPlayback> instance_playback();
|
||||
virtual String get_stream_name() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user