mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user