godot/modules/vorbis/audio_stream_ogg_vorbis.cpp

/**************************************************************************/
/*  audio_stream_ogg_vorbis.cpp                                           */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "audio_stream_ogg_vorbis.h"

#include "core/io/file_access.h"
#include "core/variant/typed_array.h"

#include "modules/vorbis/resource_importer_ogg_vorbis.h"
#include <ogg/ogg.h>

int AudioStreamPlaybackOggVorbis::_mix_internal(AudioFrame *p_buffer, int p_frames) {}

int AudioStreamPlaybackOggVorbis::_mix_frames_vorbis(AudioFrame *p_buffer, int p_frames) {}

float AudioStreamPlaybackOggVorbis::get_stream_sampling_rate() {}

bool AudioStreamPlaybackOggVorbis::_alloc_vorbis() {}

void AudioStreamPlaybackOggVorbis::start(double p_from_pos) {}

void AudioStreamPlaybackOggVorbis::stop() {}

bool AudioStreamPlaybackOggVorbis::is_playing() const {}

int AudioStreamPlaybackOggVorbis::get_loop_count() const {}

double AudioStreamPlaybackOggVorbis::get_playback_position() const {}

void AudioStreamPlaybackOggVorbis::tag_used_streams() {}

void AudioStreamPlaybackOggVorbis::set_parameter(const StringName &p_name, const Variant &p_value) {}

Variant AudioStreamPlaybackOggVorbis::get_parameter(const StringName &p_name) const {}

void AudioStreamPlaybackOggVorbis::seek(double p_time) {}

void AudioStreamPlaybackOggVorbis::set_is_sample(bool p_is_sample) {}

bool AudioStreamPlaybackOggVorbis::get_is_sample() const {}

Ref<AudioSamplePlayback> AudioStreamPlaybackOggVorbis::get_sample_playback() const {}

void AudioStreamPlaybackOggVorbis::set_sample_playback(const Ref<AudioSamplePlayback> &p_playback) {}

AudioStreamPlaybackOggVorbis::~AudioStreamPlaybackOggVorbis() {}

Ref<AudioStreamPlayback> AudioStreamOggVorbis::instantiate_playback() {}

String AudioStreamOggVorbis::get_stream_name() const {}

void AudioStreamOggVorbis::maybe_update_info() {}

void AudioStreamOggVorbis::set_packet_sequence(Ref<OggPacketSequence> p_packet_sequence) {}

Ref<OggPacketSequence> AudioStreamOggVorbis::get_packet_sequence() const {}

void AudioStreamOggVorbis::set_loop(bool p_enable) {}

bool AudioStreamOggVorbis::has_loop() const {}

void AudioStreamOggVorbis::set_loop_offset(double p_seconds) {}

double AudioStreamOggVorbis::get_loop_offset() const {}

double AudioStreamOggVorbis::get_length() const {}

void AudioStreamOggVorbis::set_bpm(double p_bpm) {}

double AudioStreamOggVorbis::get_bpm() const {}

void AudioStreamOggVorbis::set_beat_count(int p_beat_count) {}

int AudioStreamOggVorbis::get_beat_count() const {}

void AudioStreamOggVorbis::set_bar_beats(int p_bar_beats) {}

int AudioStreamOggVorbis::get_bar_beats() const {}

bool AudioStreamOggVorbis::is_monophonic() const {}

void AudioStreamOggVorbis::get_parameter_list(List<Parameter> *r_parameters) {}

Ref<AudioSample> AudioStreamOggVorbis::generate_sample() const {}

void AudioStreamOggVorbis::_bind_methods() {}

AudioStreamOggVorbis::AudioStreamOggVorbis() {}

AudioStreamOggVorbis::~AudioStreamOggVorbis() {}

Ref<AudioStreamOggVorbis> AudioStreamOggVorbis::load_from_buffer(const Vector<uint8_t> &file_data) {}

Ref<AudioStreamOggVorbis> AudioStreamOggVorbis::load_from_file(const String &p_path) {}