Skip to content

Commit

Permalink
2 param count
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Feb 8, 2024
1 parent ec7ffef commit 9148b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lime/_internal/backend/native/NativeAudioSource.hx
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class NativeAudioSource
// var time = Std.int (AL.getSourcef (handle, AL.SEC_OFFSET) * 1000) - parent.offset;
try
{
var value = AL.getSourcedvSOFT(handle, AL.SEC_OFFSET_LATENCY_SOFT);
var value = AL.getSourcedvSOFT(handle, AL.SEC_OFFSET_LATENCY_SOFT, 2);
var deviceOffset:Float = value[1];
var realOffset:Float = value[0];
var time:Float = ((realOffset - deviceOffset) * 1000) - parent.offset;
Expand Down

0 comments on commit 9148b0f

Please sign in to comment.