HolyLib Wiki

GetNextTick

  VoiceData VoiceStream:GetNextTick( boolean directData = false )

Description

Returns the VoiceData of the next tick and increments the internal tick counter by one.

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 next tick or nil if the next tick had no VoiceData