godot/modules/interactive_music/audio_stream_interactive.cpp

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

#include "core/math/math_funcs.h"
#include "core/string/print_string.h"

AudioStreamInteractive::AudioStreamInteractive() {}

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

String AudioStreamInteractive::get_stream_name() const {}

void AudioStreamInteractive::set_clip_count(int p_count) {}

void AudioStreamInteractive::set_initial_clip(int p_clip) {}

int AudioStreamInteractive::get_initial_clip() const {}

int AudioStreamInteractive::get_clip_count() const {}

void AudioStreamInteractive::set_clip_name(int p_clip, const StringName &p_name) {}

StringName AudioStreamInteractive::get_clip_name(int p_clip) const {}

void AudioStreamInteractive::set_clip_stream(int p_clip, const Ref<AudioStream> &p_stream) {}

Ref<AudioStream> AudioStreamInteractive::get_clip_stream(int p_clip) const {}

void AudioStreamInteractive::set_clip_auto_advance(int p_clip, AutoAdvanceMode p_mode) {}

AudioStreamInteractive::AutoAdvanceMode AudioStreamInteractive::get_clip_auto_advance(int p_clip) const {}

void AudioStreamInteractive::set_clip_auto_advance_next_clip(int p_clip, int p_index) {}

int AudioStreamInteractive::get_clip_auto_advance_next_clip(int p_clip) const {}

// TRANSITIONS

void AudioStreamInteractive::_set_transitions(const Dictionary &p_transitions) {}

Dictionary AudioStreamInteractive::_get_transitions() const {}

bool AudioStreamInteractive::has_transition(int p_from_clip, int p_to_clip) const {}

void AudioStreamInteractive::erase_transition(int p_from_clip, int p_to_clip) {}

PackedInt32Array AudioStreamInteractive::get_transition_list() const {}

void AudioStreamInteractive::add_transition(int p_from_clip, int p_to_clip, TransitionFromTime p_from_time, TransitionToTime p_to_time, FadeMode p_fade_mode, float p_fade_beats, bool p_use_filler_flip, int p_filler_clip, bool p_hold_previous) {}

AudioStreamInteractive::TransitionFromTime AudioStreamInteractive::get_transition_from_time(int p_from_clip, int p_to_clip) const {}

AudioStreamInteractive::TransitionToTime AudioStreamInteractive::get_transition_to_time(int p_from_clip, int p_to_clip) const {}

AudioStreamInteractive::FadeMode AudioStreamInteractive::get_transition_fade_mode(int p_from_clip, int p_to_clip) const {}

float AudioStreamInteractive::get_transition_fade_beats(int p_from_clip, int p_to_clip) const {}

bool AudioStreamInteractive::is_transition_using_filler_clip(int p_from_clip, int p_to_clip) const {}

int AudioStreamInteractive::get_transition_filler_clip(int p_from_clip, int p_to_clip) const {}

bool AudioStreamInteractive::is_transition_holding_previous(int p_from_clip, int p_to_clip) const {}

#ifdef TOOLS_ENABLED

PackedStringArray AudioStreamInteractive::_get_linked_undo_properties(const String &p_property, const Variant &p_new_value) const {}

template <class T>
static void _test_and_swap(T &p_elem, uint32_t p_a, uint32_t p_b) {}

void AudioStreamInteractive::_inspector_array_swap_clip(uint32_t p_item_a, uint32_t p_item_b) {}

String AudioStreamInteractive::_get_streams_hint() const {}

#endif
void AudioStreamInteractive::_validate_property(PropertyInfo &r_property) const {}

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

void AudioStreamInteractive::_bind_methods() {}

///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
AudioStreamPlaybackInteractive::AudioStreamPlaybackInteractive() {}

AudioStreamPlaybackInteractive::~AudioStreamPlaybackInteractive() {}

void AudioStreamPlaybackInteractive::stop() {}

void AudioStreamPlaybackInteractive::start(double p_from_pos) {}

void AudioStreamPlaybackInteractive::_queue(int p_to_clip_index, bool p_is_auto_advance) {}

void AudioStreamPlaybackInteractive::seek(double p_time) {}

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

void AudioStreamPlaybackInteractive::_mix_internal(int p_frames) {}

void AudioStreamPlaybackInteractive::_mix_internal_state(int p_state_idx, int p_frames) {}

void AudioStreamPlaybackInteractive::tag_used_streams() {}

void AudioStreamPlaybackInteractive::switch_to_clip_by_name(const StringName &p_name) {}

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

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

void AudioStreamPlaybackInteractive::switch_to_clip(int p_index) {}

int AudioStreamPlaybackInteractive::get_loop_count() const {}

double AudioStreamPlaybackInteractive::get_playback_position() const {}

bool AudioStreamPlaybackInteractive::is_playing() const {}

void AudioStreamPlaybackInteractive::_bind_methods() {}