godot/scene/resources/audio_stream_polyphonic.cpp

/**************************************************************************/
/*  audio_stream_polyphonic.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_polyphonic.h"
#include "audio_stream_polyphonic.compat.inc"

#include "scene/main/scene_tree.h"
#include "servers/audio_server.h"

constexpr uint64_t ID_MASK =;
constexpr uint64_t INDEX_SHIFT =;

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

String AudioStreamPolyphonic::get_stream_name() const {}

bool AudioStreamPolyphonic::is_monophonic() const {}

void AudioStreamPolyphonic::set_polyphony(int p_voices) {}
int AudioStreamPolyphonic::get_polyphony() const {}

void AudioStreamPolyphonic::_bind_methods() {}

AudioStreamPolyphonic::AudioStreamPolyphonic() {}

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

void AudioStreamPlaybackPolyphonic::start(double p_from_pos) {}

void AudioStreamPlaybackPolyphonic::stop() {}

bool AudioStreamPlaybackPolyphonic::is_playing() const {}

int AudioStreamPlaybackPolyphonic::get_loop_count() const {}

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

void AudioStreamPlaybackPolyphonic::tag_used_streams() {}

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

AudioStreamPlaybackPolyphonic::ID AudioStreamPlaybackPolyphonic::play_stream(const Ref<AudioStream> &p_stream, float p_from_offset, float p_volume_db, float p_pitch_scale, AudioServer::PlaybackType p_playback_type, const StringName &p_bus) {}

AudioStreamPlaybackPolyphonic::Stream *AudioStreamPlaybackPolyphonic::_find_stream(int64_t p_id) {}

void AudioStreamPlaybackPolyphonic::set_stream_volume(ID p_stream_id, float p_volume_db) {}

void AudioStreamPlaybackPolyphonic::set_stream_pitch_scale(ID p_stream_id, float p_pitch_scale) {}

bool AudioStreamPlaybackPolyphonic::is_stream_playing(ID p_stream_id) const {}

void AudioStreamPlaybackPolyphonic::stop_stream(ID p_stream_id) {}

void AudioStreamPlaybackPolyphonic::set_is_sample(bool p_is_sample) {}

bool AudioStreamPlaybackPolyphonic::get_is_sample() const {}

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

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

void AudioStreamPlaybackPolyphonic::_bind_methods() {}

AudioStreamPlaybackPolyphonic::AudioStreamPlaybackPolyphonic() {}