godot/servers/audio/audio_stream.cpp

/**************************************************************************/
/*  audio_stream.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.h"

#include "core/config/project_settings.h"
#include "core/os/os.h"

void AudioStreamPlayback::start(double p_from_pos) {}
void AudioStreamPlayback::stop() {}
bool AudioStreamPlayback::is_playing() const {}

int AudioStreamPlayback::get_loop_count() const {}

double AudioStreamPlayback::get_playback_position() const {}
void AudioStreamPlayback::seek(double p_time) {}

int AudioStreamPlayback::mix(AudioFrame *p_buffer, float p_rate_scale, int p_frames) {}

void AudioStreamPlayback::tag_used_streams() {}

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

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

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

void AudioStreamPlayback::_bind_methods() {}

AudioStreamPlayback::AudioStreamPlayback() {}

AudioStreamPlayback::~AudioStreamPlayback() {}
//////////////////////////////

void AudioStreamPlaybackResampled::begin_resample() {}

int AudioStreamPlaybackResampled::_mix_internal(AudioFrame *p_buffer, int p_frames) {}
float AudioStreamPlaybackResampled::get_stream_sampling_rate() {}

void AudioStreamPlaybackResampled::_bind_methods() {}

int AudioStreamPlaybackResampled::mix(AudioFrame *p_buffer, float p_rate_scale, int p_frames) {}

////////////////////////////////

Ref<AudioStreamPlayback> AudioStream::instantiate_playback() {}
String AudioStream::get_stream_name() const {}

double AudioStream::get_length() const {}

bool AudioStream::is_monophonic() const {}

double AudioStream::get_bpm() const {}

bool AudioStream::has_loop() const {}

int AudioStream::get_bar_beats() const {}

int AudioStream::get_beat_count() const {}

void AudioStream::tag_used(float p_offset) {}

uint64_t AudioStream::get_tagged_frame() const {}
uint32_t AudioStream::get_tagged_frame_count() const {}
float AudioStream::get_tagged_frame_offset(int p_index) const {}

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

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

void AudioStream::_bind_methods() {}

////////////////////////////////

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

String AudioStreamMicrophone::get_stream_name() const {}

double AudioStreamMicrophone::get_length() const {}

bool AudioStreamMicrophone::is_monophonic() const {}

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

int AudioStreamPlaybackMicrophone::mix(AudioFrame *p_buffer, float p_rate_scale, int p_frames) {}

float AudioStreamPlaybackMicrophone::get_stream_sampling_rate() {}

void AudioStreamPlaybackMicrophone::start(double p_from_pos) {}

void AudioStreamPlaybackMicrophone::stop() {}

bool AudioStreamPlaybackMicrophone::is_playing() const {}

int AudioStreamPlaybackMicrophone::get_loop_count() const {}

double AudioStreamPlaybackMicrophone::get_playback_position() const {}

void AudioStreamPlaybackMicrophone::seek(double p_time) {}

void AudioStreamPlaybackMicrophone::tag_used_streams() {}

AudioStreamPlaybackMicrophone::~AudioStreamPlaybackMicrophone() {}

AudioStreamPlaybackMicrophone::AudioStreamPlaybackMicrophone() {}

////////////////////////////////

void AudioStreamRandomizer::add_stream(int p_index, Ref<AudioStream> p_stream, float p_weight) {}

// p_index_to is relative to the array prior to the removal of from.
// Example: [0, 1, 2, 3], move(1, 3) => [0, 2, 1, 3]
void AudioStreamRandomizer::move_stream(int p_index_from, int p_index_to) {}

void AudioStreamRandomizer::remove_stream(int p_index) {}

void AudioStreamRandomizer::set_stream(int p_index, Ref<AudioStream> p_stream) {}

Ref<AudioStream> AudioStreamRandomizer::get_stream(int p_index) const {}

void AudioStreamRandomizer::set_stream_probability_weight(int p_index, float p_weight) {}

float AudioStreamRandomizer::get_stream_probability_weight(int p_index) const {}

void AudioStreamRandomizer::set_streams_count(int p_count) {}

int AudioStreamRandomizer::get_streams_count() const {}

void AudioStreamRandomizer::set_random_pitch(float p_pitch) {}

float AudioStreamRandomizer::get_random_pitch() const {}

void AudioStreamRandomizer::set_random_volume_offset_db(float p_volume_offset_db) {}

float AudioStreamRandomizer::get_random_volume_offset_db() const {}

void AudioStreamRandomizer::set_playback_mode(PlaybackMode p_playback_mode) {}

AudioStreamRandomizer::PlaybackMode AudioStreamRandomizer::get_playback_mode() const {}

Ref<AudioStreamPlayback> AudioStreamRandomizer::instance_playback_random() {}

Ref<AudioStreamPlayback> AudioStreamRandomizer::instance_playback_no_repeats() {}

Ref<AudioStreamPlayback> AudioStreamRandomizer::instance_playback_sequential() {}

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

String AudioStreamRandomizer::get_stream_name() const {}

double AudioStreamRandomizer::get_length() const {}

bool AudioStreamRandomizer::is_monophonic() const {}

void AudioStreamRandomizer::_bind_methods() {}

AudioStreamRandomizer::AudioStreamRandomizer() {}

void AudioStreamPlaybackRandomizer::start(double p_from_pos) {}

void AudioStreamPlaybackRandomizer::stop() {}

bool AudioStreamPlaybackRandomizer::is_playing() const {}

int AudioStreamPlaybackRandomizer::get_loop_count() const {}

double AudioStreamPlaybackRandomizer::get_playback_position() const {}

void AudioStreamPlaybackRandomizer::seek(double p_time) {}

void AudioStreamPlaybackRandomizer::tag_used_streams() {}

int AudioStreamPlaybackRandomizer::mix(AudioFrame *p_buffer, float p_rate_scale, int p_frames) {}

AudioStreamPlaybackRandomizer::~AudioStreamPlaybackRandomizer() {}
/////////////////////////////////////////////