HolyLib Wiki

GetPreviousTick

  VoiceData VoiceStream:GetPreviousTick( boolean directData = false )

Description

Returns the VoiceData of the previous tick and decrements the internal tick count 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 previous tick or nil if the previous tick had no VoiceData