godot/scene/2d/audio_stream_player_2d.cpp

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

#include "core/config/project_settings.h"
#include "scene/2d/audio_listener_2d.h"
#include "scene/2d/physics/area_2d.h"
#include "scene/audio/audio_stream_player_internal.h"
#include "scene/main/viewport.h"
#include "scene/resources/world_2d.h"
#include "servers/audio/audio_stream.h"
#include "servers/audio_server.h"

void AudioStreamPlayer2D::_notification(int p_what) {}

// Interacts with PhysicsServer2D, so can only be called during _physics_process.
StringName AudioStreamPlayer2D::_get_actual_bus() {}

// Interacts with PhysicsServer2D, so can only be called during _physics_process
void AudioStreamPlayer2D::_update_panning() {}

void AudioStreamPlayer2D::set_stream(Ref<AudioStream> p_stream) {}

Ref<AudioStream> AudioStreamPlayer2D::get_stream() const {}

void AudioStreamPlayer2D::set_volume_db(float p_volume) {}

float AudioStreamPlayer2D::get_volume_db() const {}

void AudioStreamPlayer2D::set_pitch_scale(float p_pitch_scale) {}

float AudioStreamPlayer2D::get_pitch_scale() const {}

void AudioStreamPlayer2D::play(float p_from_pos) {}

void AudioStreamPlayer2D::seek(float p_seconds) {}

void AudioStreamPlayer2D::stop() {}

bool AudioStreamPlayer2D::is_playing() const {}

float AudioStreamPlayer2D::get_playback_position() {}

void AudioStreamPlayer2D::set_bus(const StringName &p_bus) {}

StringName AudioStreamPlayer2D::get_bus() const {}

void AudioStreamPlayer2D::set_autoplay(bool p_enable) {}

bool AudioStreamPlayer2D::is_autoplay_enabled() const {}

void AudioStreamPlayer2D::_set_playing(bool p_enable) {}

void AudioStreamPlayer2D::_validate_property(PropertyInfo &p_property) const {}

void AudioStreamPlayer2D::set_max_distance(float p_pixels) {}

float AudioStreamPlayer2D::get_max_distance() const {}

void AudioStreamPlayer2D::set_attenuation(float p_curve) {}

float AudioStreamPlayer2D::get_attenuation() const {}

void AudioStreamPlayer2D::set_area_mask(uint32_t p_mask) {}

uint32_t AudioStreamPlayer2D::get_area_mask() const {}

void AudioStreamPlayer2D::set_stream_paused(bool p_pause) {}

bool AudioStreamPlayer2D::get_stream_paused() const {}

bool AudioStreamPlayer2D::has_stream_playback() {}

Ref<AudioStreamPlayback> AudioStreamPlayer2D::get_stream_playback() {}

void AudioStreamPlayer2D::set_max_polyphony(int p_max_polyphony) {}

int AudioStreamPlayer2D::get_max_polyphony() const {}

void AudioStreamPlayer2D::set_panning_strength(float p_panning_strength) {}

float AudioStreamPlayer2D::get_panning_strength() const {}

AudioServer::PlaybackType AudioStreamPlayer2D::get_playback_type() const {}

void AudioStreamPlayer2D::set_playback_type(AudioServer::PlaybackType p_playback_type) {}

bool AudioStreamPlayer2D::_set(const StringName &p_name, const Variant &p_value) {}

bool AudioStreamPlayer2D::_get(const StringName &p_name, Variant &r_ret) const {}

void AudioStreamPlayer2D::_get_property_list(List<PropertyInfo> *p_list) const {}

void AudioStreamPlayer2D::_bind_methods() {}

AudioStreamPlayer2D::AudioStreamPlayer2D() {}

AudioStreamPlayer2D::~AudioStreamPlayer2D() {}