Skip to content

Commit

Permalink
Use float notation for nme_sv_set_sound_transform
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugh Sanderson committed Aug 12, 2023
1 parent 016c6ec commit 6070b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nme/media/StageVideo.hx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class StageVideo extends EventDispatcher
public function nmeSetVolume(inVolume:Float)
{
if (nmeHandle!=null)
nme_sv_set_sound_transform(nmeHandle,inVolume,0);
nme_sv_set_sound_transform(nmeHandle,inVolume,0.0);
}

public function nmeGetBytesTotal( ) : Int
Expand Down

0 comments on commit 6070b0a

Please sign in to comment.