fixed a log thing
This commit is contained in:
parent
635d756429
commit
67583d10be
1 changed files with 1 additions and 1 deletions
|
|
@ -90,8 +90,8 @@ public class SoundLoader {
|
|||
if (soundsEnabled && buffer >= 0) {
|
||||
int sourceId = getAvailableSource();
|
||||
if(sourceId >= 0){
|
||||
MultiPrintStream.out.println("Playing sound: source="+sourceId+" buffer="+buffer);
|
||||
stopSound(sourceId);
|
||||
MultiPrintStream.out.println("Playing sound: source="+sourceId+" buffer="+buffer);
|
||||
|
||||
AL10.alSourcei(sources.get(sourceId), AL10.AL_BUFFER, buffer);
|
||||
AL10.alSourcef(sources.get(sourceId), AL10.AL_PITCH, 1.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue