HolyLib Wiki

GetCurrentTick

  VoiceData VoiceStream:GetCurrentTick( boolean directData = false )

Description

Returns the VoiceData of the current tick without changing the internal tick count

Recently Added

This was recently added in version (0.8 - DEV).

Arguments

1boolean directData = false

If true it will return the VoiceData itself instead of creating a copy
If you modify it you will change the VoiceData stored in the stream!

Returns

1VoiceData voiceData
Copy of the internally stored VoiceData for the current tick or nil if the current tick had no VoiceData