Skip to content

Commit

Permalink
don't set a spatial position for html5 audio
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed May 3, 2024
1 parent 391f154 commit cec4459
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lime/_internal/backend/html5/HTML5AudioSource.hx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class HTML5AudioSource
untyped parent.buffer.__srcHowl._volume = cacheVolume;
// setGain (parent.gain);

setPosition(parent.position);
// setPosition(parent.position);

parent.buffer.__srcHowl.on("end", howl_onEnd, id);

Expand Down Expand Up @@ -218,10 +218,10 @@ class HTML5AudioSource
#if lime_howlerjs
parent.buffer.__srcHowl.rate(value);
#end

return getPitch();
}


public function getPosition():Vector4
{
Expand Down

0 comments on commit cec4459

Please sign in to comment.