Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
A class representing an Ogg Vorbis audio stream.
The AudioStreamOggVorbis class is a specialized AudioStream for handling Ogg Vorbis file formats. It offers functionality for loading and playing back Ogg Vorbis files, as well as managing looping and other playback properties. This class is part of the audio stream system, which also supports WAV files through the AudioStreamWAV class.
int bar_beats =
int beat_count =
float bpm =
bool loop =
true, the audio will play again from the specified loop_offset once it is done playing. Useful for ambient sounds and background music.
float loop_offset =
Time in seconds at which the stream starts after being looped.
Contains the raw Ogg data for this stream.
Creates a new AudioStreamOggVorbis instance from the given buffer. The buffer must contain Ogg Vorbis data.
Creates a new AudioStreamOggVorbis instance from the given file path. The file must be in Ogg Vorbis format.