Files
mcpe/source/Sound/SoundSystem.cpp
f 9bfec799e2 Improve and fix crash in SoundSystemWindows
Add 3D Sound Listener, Fix crash when DirectSound fails to initialize. Add second argument to setListenerAngle. Implement setListenerAngle and setListenerPos in Minecraft.cpp (Is this a good place to put it?)
2023-08-01 22:02:24 +02:00

49 lines
941 B
C++

/********************************************************************
Minecraft: Pocket Edition - Decompilation Project
Copyright (C) 2023 iProgramInCpp
The following code is licensed under the BSD 1 clause license.
SPDX-License-Identifier: BSD-1-Clause
********************************************************************/
#include "SoundSystem.hpp"
bool SoundSystem::isAvailable()
{
return false;
}
void SoundSystem::setListenerPos(float x, float y, float z)
{
}
#ifndef ORIGINAL_CODE
void SoundSystem::setListenerAngle(float yaw, float pitch)
{
}
#else
void SoundSystem::setListenerAngle(float yaw)
{
}
#endif
void SoundSystem::load(const std::string& sound)
{
}
void SoundSystem::play(const std::string& sound)
{
}
void SoundSystem::pause(const std::string& sound)
{
}
void SoundSystem::stop(const std::string& sound)
{
}
void SoundSystem::playAt(const SoundDesc& sound, float x, float y, float z, float a, float b)
{
}