Made sure the state of the Source is applied to the AL source when it's played. Also increased the max number if sources allowed at the same time.

This commit is contained in:
rude
2010-02-02 21:22:57 +01:00
parent 662406efbe
commit e7a6323635
4 changed files with 50 additions and 20 deletions
+5
View File
@@ -58,6 +58,9 @@ namespace openal
float pitch;
float volume;
float position[3];
float velocity[3];
float direction[3];
bool looping;
love::sound::Decoder * decoder;
@@ -99,6 +102,8 @@ namespace openal
void reset(ALenum source);
void setFloatv(float * dst, const float * src) const;
/**
* Gets the OpenAL format identifier based on number of
* channels and bits.