Skip to content

Commit 0716047

Browse files
authored
Merge pull request goldfire#1033 from sbi-krisj/master
Safari fix for panner.setPosition
2 parents cf16293 + 2a9d090 commit 0716047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/howler.spatial.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@
313313
sound._panner.positionY.setValueAtTime(y, Howler.ctx.currentTime);
314314
sound._panner.positionZ.setValueAtTime(z, Howler.ctx.currentTime);
315315
} else {
316-
sound._panner.setOrientation(x, y, z);
316+
sound._panner.setPosition(x, y, z);
317317
}
318318
}
319319

0 commit comments

Comments
 (0)