mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 19:36:43 +03:00
19 lines
493 B
C++
19 lines
493 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include "SoundData.hpp"
|
|
|
|
class SoundSystem
|
|
{
|
|
public:
|
|
virtual bool isAvailable();
|
|
virtual void setListenerPos(float x, float y, float z);
|
|
virtual void setListenerAngle(float f);
|
|
virtual void load(const std::string& sound);
|
|
virtual void play(const std::string& sound);
|
|
virtual void pause(const std::string& sound);
|
|
virtual void stop(const std::string& sound);
|
|
virtual void playAt(const SoundDesc& sound, float x, float y, float z, float a, float b);
|
|
};
|
|
|