Doppler effect

This commit is contained in:
Adam
2014-03-13 20:00:41 +01:00
parent 192589f9e5
commit 5afb3932e9
4 changed files with 35 additions and 9 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ public:
void Update(double dt) override;
void UpdateEntity(double dt, EntityID entity, EntityID parent) override;
void OnComponentCreated(std::string type, std::shared_ptr<Component> component) override;
void PlaySound(std::shared_ptr<Components::SoundEmitter> emitter, std::string fileName);
void PlaySound(std::shared_ptr<Components::SoundEmitter> emitter, std::string path); // Use if you want to play a temporary .wav file not from component
void PlaySound(std::shared_ptr<Components::SoundEmitter> emitter); // Use if you want to play .wav file from component // imon no hate plx T.T
void StopSound(std::shared_ptr<Components::SoundEmitter> emitter);
private:
ALuint LoadFile(std::string fileName);