godot/scene/resources/audio_stream_wav.cpp

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

#include "core/io/file_access.h"
#include "core/io/marshalls.h"

void AudioStreamPlaybackWAV::start(double p_from_pos) {}

void AudioStreamPlaybackWAV::stop() {}

bool AudioStreamPlaybackWAV::is_playing() const {}

int AudioStreamPlaybackWAV::get_loop_count() const {}

double AudioStreamPlaybackWAV::get_playback_position() const {}

void AudioStreamPlaybackWAV::seek(double p_time) {}

template <typename Depth, bool is_stereo, bool is_ima_adpcm, bool is_qoa>
void AudioStreamPlaybackWAV::do_resample(const Depth *p_src, AudioFrame *p_dst, int64_t &p_offset, int32_t &p_increment, uint32_t p_amount, IMA_ADPCM_State *p_ima_adpcm, QOA_State *p_qoa) {}

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

void AudioStreamPlaybackWAV::tag_used_streams() {}

void AudioStreamPlaybackWAV::set_is_sample(bool p_is_sample) {}

bool AudioStreamPlaybackWAV::get_is_sample() const {}

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

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

AudioStreamPlaybackWAV::AudioStreamPlaybackWAV() {}

AudioStreamPlaybackWAV::~AudioStreamPlaybackWAV() {}

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

void AudioStreamWAV::set_format(Format p_format) {}

AudioStreamWAV::Format AudioStreamWAV::get_format() const {}

void AudioStreamWAV::set_loop_mode(LoopMode p_loop_mode) {}

AudioStreamWAV::LoopMode AudioStreamWAV::get_loop_mode() const {}

void AudioStreamWAV::set_loop_begin(int p_frame) {}

int AudioStreamWAV::get_loop_begin() const {}

void AudioStreamWAV::set_loop_end(int p_frame) {}

int AudioStreamWAV::get_loop_end() const {}

void AudioStreamWAV::set_mix_rate(int p_hz) {}

int AudioStreamWAV::get_mix_rate() const {}

void AudioStreamWAV::set_stereo(bool p_enable) {}

bool AudioStreamWAV::is_stereo() const {}

double AudioStreamWAV::get_length() const {}

bool AudioStreamWAV::is_monophonic() const {}

void AudioStreamWAV::set_data(const Vector<uint8_t> &p_data) {}

Vector<uint8_t> AudioStreamWAV::get_data() const {}

Error AudioStreamWAV::save_to_wav(const String &p_path) {}

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

String AudioStreamWAV::get_stream_name() const {}

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

void AudioStreamWAV::_bind_methods() {}

AudioStreamWAV::AudioStreamWAV() {}

AudioStreamWAV::~AudioStreamWAV() {}