6#include "math/vector_3.h"
12 SoundSource(std::string name,
const SoundBuffer& b,
coma::Vec3 pos,
14 float gain = 1.0f,
float pitch = 1.0f);
16 SoundSource& operator=(
const SoundSource& src) =
default;
19 SoundSource(
const SoundSource& other) =
default;
20 SoundSource(SoundSource&& other)
noexcept;
22 void setLoop(
bool state);
28 void updateGain(
float gain);
29 void updatePitch(
float pitch);
30 void setGain(
float gain);
31 void setPitch(
float pitch);
37 bool getStatus()
const;
39 bool addSound(SoundBuffer* b);
represents mathematical vector with 3 components
Definition: vector_3.h:12