Interface ClientSoundEvent
- All Superinterfaces:
ClientEvent,Event
This event is emitted before the client encodes the audio and sends it to the server.
-
Method Summary
Methods inherited from interface de.maxhenkel.voicechat.api.events.ClientEvent
getVoicechatMethods inherited from interface de.maxhenkel.voicechat.api.events.Event
cancel, isCancellable, isCancelled
-
Method Details
-
getRawAudio
short[] getRawAudio()The unencoded audio data.
Returns an empty array in case of the end of transmission- Returns:
- the raw 16 bit PCM audio frame
-