Load OGGs from file system

This commit is contained in:
Oğuzhan Eroğlu
2022-11-11 22:42:56 +03:00
committed by K. S. Ernest (iFire) Lee
parent a7583881af
commit e391eae4b0
7 changed files with 103 additions and 51 deletions

View File

@ -125,6 +125,8 @@ protected:
static void _bind_methods();
public:
static Ref<AudioStreamOggVorbis> load_from_file(const String &p_path);
static Ref<AudioStreamOggVorbis> load_from_buffer(const Vector<uint8_t> &file_data);
void set_loop(bool p_enable);
virtual bool has_loop() const override;