paulscode.sound.libraries

public class SourceLWJGL3OpenAL

extends paulscode.sound.Source

dgu
net.minecraft.class_4303
paulscode.sound.libraries.SourceLWJGL3OpenAL
net.minecraft.client.audio.SourceLWJGL3
net.minecraft.client.audio.SourceLWJGL3

Field summary

Modifier and TypeField
private ChannelLWJGL3OpenAL
a
field_21134
channelOpenAL
field_195861_a
lwjgl3Channel
private IntBuffer
b
field_21135
myBuffer
field_195862_b
soundData
private FloatBuffer
c
field_21136
listenerPosition
field_195863_c
listenerPositionBuffer
private FloatBuffer
d
field_21137
sourcePosition
field_195864_d
sourcePositionBuffer
private FloatBuffer
e
field_21138
sourceVelocity
field_195865_e
velocityBuffer

Constructor summary

ModifierConstructor
public (FloatBuffer listenerPosition, IntBuffer myBuffer, boolean priority, boolean toStream, boolean toLoop, String sourcename, paulscode.sound.FilenameURL filenameURL, paulscode.sound.SoundBuffer soundBuffer, float x, float y, float z, int attModel, float distOrRoll, boolean temporary)
public (FloatBuffer listenerPosition, IntBuffer myBuffer, paulscode.sound.Source old, paulscode.sound.SoundBuffer soundBuffer)
public (FloatBuffer listenerPosition, AudioFormat audioFormat, boolean priority, String sourcename, float x, float y, float z, int attModel, float distOrRoll)

Method summary

Modifier and TypeMethod
public boolean
incrementSoundSequence()
incrementSoundSequence()
incrementSoundSequence()
incrementSoundSequence()
public void
listenerMoved()
listenerMoved()
listenerMoved()
listenerMoved()
public void
setPosition(float arg0, float arg1, float arg2)
setPosition(float arg0, float arg1, float arg2)
setPosition(float arg0, float arg1, float arg2)
setPosition(float arg0, float arg1, float arg2)
public void
positionChanged()
positionChanged()
positionChanged()
positionChanged()
private void
a()
method_19630()
checkPitch()
func_195856_a()
setPitch()
public void
setLooping(boolean arg0)
setLooping(boolean arg0)
setLooping(boolean arg0)
setLooping(boolean arg0)
public void
setAttenuation(int arg0)
setAttenuation(int arg0)
setAttenuation(int arg0)
setAttenuation(int arg0)
public void
setDistOrRoll(float arg0)
setDistOrRoll(float arg0)
setDistOrRoll(float arg0)
setDistOrRoll(float arg0)
public void
setVelocity(float arg0, float arg1, float arg2)
setVelocity(float arg0, float arg1, float arg2)
setVelocity(float arg0, float arg1, float arg2)
setVelocity(float arg0, float arg1, float arg2)
public void
setPitch(float arg0)
setPitch(float arg0)
setPitch(float arg0)
setPitch(float arg0)
public void
play(paulscode.sound.Channel arg0)
play(paulscode.sound.Channel arg0)
play(paulscode.sound.Channel arg0)
play(paulscode.sound.Channel arg0)
public boolean
preLoad()
preLoad()
preLoad()
preLoad()
private void
b()
method_19631()
resetALInformation()
func_195858_b()
initBuffers()
private void
c()
method_19632()
calculateDistance()
func_195859_c()
updateDistance()
private void
d()
method_19633()
calculateGain()
func_195860_d()
updateGain()
private boolean
e()
method_19634()
checkALError()
func_195857_e()
checkError()