Interface OpenALSoundEvent
- All Superinterfaces:
 ClientEvent,Event
- All Known Subinterfaces:
 OpenALSoundEvent.Post,OpenALSoundEvent.Pre
This event is emitted for every audio chunk for every audio channel.
 These events are meant to be used to modify OpenAL effects.
 
This specific event is emitted after the position of the sound is set, but before the any other OpenAL calls. Use
This specific event is emitted after the position of the sound is set, but before the any other OpenAL calls. Use
OpenALSoundEvent.Pre or OpenALSoundEvent.Post get earlier or later events respectively.- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThis event is emitted after all OpenAL calls by the voice chat and the audio is added to the buffer queue.static interfaceThis event is emitted before any OpenAL calls were made by the voice chat. - 
Method Summary
Modifier and TypeMethodDescriptionThis returnsnullfor non audio channel sounds, like microphone testing.Returns the position of the sound.intMethods inherited from interface de.maxhenkel.voicechat.api.events.ClientEvent
getVoicechatMethods inherited from interface de.maxhenkel.voicechat.api.events.Event
cancel, isCancellable, isCancelled 
- 
Method Details
- 
getPosition
Returns the position of the sound. This returnsnullfor static sounds.- Returns:
 - the position of the sound
 
 - 
getChannelId
This returnsnullfor non audio channel sounds, like microphone testing.- Returns:
 - the unique ID of the audio channel
 
 - 
getSource
int getSource()- Returns:
 - the OpenAL source
 
 - 
getCategory
- Returns:
 - the category of the sound
 
 
 -